about summary refs log tree commit diff
path: root/tools/nixery/storage/storage.go
diff options
context:
space:
mode:
Diffstat (limited to 'tools/nixery/storage/storage.go')
-rw-r--r--tools/nixery/storage/storage.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/nixery/storage/storage.go b/tools/nixery/storage/storage.go
index c97b5e4facc6..4040ef08dc9c 100644
--- a/tools/nixery/storage/storage.go
+++ b/tools/nixery/storage/storage.go
@@ -1,4 +1,4 @@
-// Copyright 2019 Google LLC
+// Copyright 2019-2020 Google LLC
 //
 // Licensed under the Apache License, Version 2.0 (the "License"); you may not
 // use this file except in compliance with the License. You may obtain a copy of
@@ -46,6 +46,6 @@ type Backend interface {
 	Move(ctx context.Context, old, new string) error
 
 	// Serve provides a handler function to serve HTTP requests
-	// for layers in the storage backend.
-	ServeLayer(digest string, r *http.Request, w http.ResponseWriter) error
+	// for objects in the storage backend.
+	Serve(digest string, r *http.Request, w http.ResponseWriter) error
 }