about summary refs log tree commit diff
path: root/tools/nixery/server/main.go
diff options
context:
space:
mode:
Diffstat (limited to 'tools/nixery/server/main.go')
-rw-r--r--tools/nixery/server/main.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/nixery/server/main.go b/tools/nixery/server/main.go
index b5d7091ed002..282fe9773a73 100644
--- a/tools/nixery/server/main.go
+++ b/tools/nixery/server/main.go
@@ -175,7 +175,7 @@ func (h *registryHandler) ServeHTTP(w http.ResponseWriter, r *http.Request) {
 	if len(layerMatches) == 3 {
 		digest := layerMatches[2]
 		storage := h.state.Storage
-		err := storage.ServeLayer(digest, w)
+		err := storage.ServeLayer(digest, r, w)
 		if err != nil {
 			log.WithError(err).WithFields(log.Fields{
 				"layer":   digest,