diff options
Diffstat (limited to 'tvix')
-rw-r--r-- | tvix/nar-bridge/pkg/http/narinfo_get.go | 2 |
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 d46125f58528..acb80c739053 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") |