refactor(tvix/store): move deriver field into narinfo submessage
This information is present in the .narinfo files, it should have gone there. Change-Id: Ib43d0cf30c2795bf1fe77c46646174353ade0458 Reviewed-on: https://cl.tvl.fyi/c/depot/+/9794 Autosubmit: flokli <flokli@flokli.de> Reviewed-by: Connor Brewster <cbrewster@hey.com> Tested-by: BuildkiteCI
This commit is contained in:
parent
ba9a62ca9f
commit
9118dc8a50
11 changed files with 92 additions and 90 deletions
|
|
@ -125,7 +125,7 @@ func TestValidate(t *testing.T) {
|
|||
pi := genPathInfoSymlink()
|
||||
|
||||
// add the Deriver Field.
|
||||
pi.Deriver = &storev1pb.StorePath{
|
||||
pi.Narinfo.Deriver = &storev1pb.StorePath{
|
||||
Digest: exampleStorePathDigest,
|
||||
Name: "foo",
|
||||
}
|
||||
|
|
@ -138,7 +138,7 @@ func TestValidate(t *testing.T) {
|
|||
pi := genPathInfoSymlink()
|
||||
|
||||
// add the Deriver Field, with a broken digest
|
||||
pi.Deriver = &storev1pb.StorePath{
|
||||
pi.Narinfo.Deriver = &storev1pb.StorePath{
|
||||
Digest: []byte{},
|
||||
Name: "foo2",
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue