refactor(tvix/nar-bridge): pass root node to storev1pb.Export
Bumps the go module past cl/9604 and update the consumer side. Change-Id: Id44245017f1dc2f8aac28051cdbb45b83bdc5be3 Reviewed-on: https://cl.tvl.fyi/c/depot/+/9650 Reviewed-by: Brian McGee <brian@bmcgee.ie> Tested-by: BuildkiteCI
This commit is contained in:
parent
930edb69d7
commit
ceb1674e9f
5 changed files with 6 additions and 6 deletions
|
|
@ -59,7 +59,7 @@ func TestRoundtrip(t *testing.T) {
|
|||
var buf bytes.Buffer
|
||||
err = storev1pb.Export(
|
||||
&buf,
|
||||
pathInfo,
|
||||
pathInfo.Node,
|
||||
func(directoryDgst []byte) (*castorev1pb.Directory, error) {
|
||||
d, found := directoriesMap[base64.StdEncoding.EncodeToString(directoryDgst)]
|
||||
if !found {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue