From 9118dc8a5056ad0cdb91a0688f50ac5d6e28a1ec Mon Sep 17 00:00:00 2001 From: Florian Klink Date: Tue, 17 Oct 2023 23:27:37 +0100 Subject: 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 Reviewed-by: Connor Brewster Tested-by: BuildkiteCI --- tvix/store-go/pathinfo_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tvix/store-go/pathinfo_test.go') 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", } -- cgit 1.4.1