about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--tvix/nar-bridge/pkg/http/narinfo_get.go2
1 files changed, 0 insertions, 2 deletions
diff --git a/tvix/nar-bridge/pkg/http/narinfo_get.go b/tvix/nar-bridge/pkg/http/narinfo_get.go
index d46125f585..acb80c7390 100644
--- a/tvix/nar-bridge/pkg/http/narinfo_get.go
+++ b/tvix/nar-bridge/pkg/http/narinfo_get.go
@@ -53,14 +53,12 @@ func renderNarinfo(
 
 	log = log.WithField("pathInfo", pathInfo)
 
-	// The PathInfo received needs to be valid, and contain a NARInfo field.
 	if _, err := pathInfo.Validate(); err != nil {
 		log.WithError(err).Error("unable to validate PathInfo")
 
 		return fmt.Errorf("unable to validate PathInfo: %w", err)
 	}
 
-	// Ensure the PathInfo contains a NARInfo field
 	if pathInfo.GetNarinfo() == nil {
 		log.Error("PathInfo doesn't contain Narinfo field")