about summary refs log tree commit diff
path: root/tvix/store-go/pathinfo_test.go
diff options
context:
space:
mode:
authorFlorian Klink <flokli@flokli.de>2023-10-17T22·27+0100
committerclbot <clbot@tvl.fyi>2023-10-22T17·04+0000
commit9118dc8a5056ad0cdb91a0688f50ac5d6e28a1ec (patch)
tree5d705773016676896bfe35a2da17581ba4827e61 /tvix/store-go/pathinfo_test.go
parentba9a62ca9f82f00aec1b8ad163252476cbb5322a (diff)
refactor(tvix/store): move deriver field into narinfo submessage r/6869
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
Diffstat (limited to 'tvix/store-go/pathinfo_test.go')
-rw-r--r--tvix/store-go/pathinfo_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/tvix/store-go/pathinfo_test.go b/tvix/store-go/pathinfo_test.go
index ff68171a251e..e248f52c8d26 100644
--- a/tvix/store-go/pathinfo_test.go
+++ b/tvix/store-go/pathinfo_test.go
@@ -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",
 		}