about summary refs log tree commit diff
path: root/tvix/nar-bridge/pkg/http/nar_get.go
diff options
context:
space:
mode:
authorFlorian Klink <flokli@flokli.de>2023-10-11T09·21+0200
committerflokli <flokli@flokli.de>2023-10-11T11·41+0000
commitceb1674e9f66bcbf382130bb195d367d269ddf86 (patch)
tree02f62d6d89ee302a756f476ebbdffd9418c75506 /tvix/nar-bridge/pkg/http/nar_get.go
parent930edb69d7447f0cbe9149d01dcf9fa8443518c8 (diff)
refactor(tvix/nar-bridge): pass root node to storev1pb.Export r/6779
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
Diffstat (limited to 'tvix/nar-bridge/pkg/http/nar_get.go')
-rw-r--r--tvix/nar-bridge/pkg/http/nar_get.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/tvix/nar-bridge/pkg/http/nar_get.go b/tvix/nar-bridge/pkg/http/nar_get.go
index 85405d81f463..eecc59900784 100644
--- a/tvix/nar-bridge/pkg/http/nar_get.go
+++ b/tvix/nar-bridge/pkg/http/nar_get.go
@@ -95,7 +95,7 @@ func renderNar(
 	// render the NAR file
 	err := storev1pb.Export(
 		w,
-		pathInfo,
+		pathInfo.Node,
 		func(directoryDigest []byte) (*castorev1pb.Directory, error) {
 			log.WithField("directory", base64.StdEncoding.EncodeToString(directoryDigest)).Debug("Get directory")
 			directoryRefStr := hex.EncodeToString(directoryDigest)