summaryrefslogtreecommitdiff
path: root/api/server/middleware
diff options
context:
space:
mode:
authorallencloud <allen.sun@daocloud.io>2016-03-06 00:59:11 +0800
committerallencloud <allen.sun@daocloud.io>2016-03-06 00:59:11 +0800
commit2736f77a94f57ddde5de1e5dc66c168290b91da2 (patch)
tree63c00579a9c67ac5d5d480d93d9689676b28829c /api/server/middleware
parent160abfbeeaa20314d5d971061d3bad7aaf87e66c (diff)
downloaddocker-2736f77a94f57ddde5de1e5dc66c168290b91da2.tar.gz
fix typos
Signed-off-by: allencloud <allen.sun@daocloud.io>
Diffstat (limited to 'api/server/middleware')
-rw-r--r--api/server/middleware/middleware.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/api/server/middleware/middleware.go b/api/server/middleware/middleware.go
index b4b28ec52c..588331ae7e 100644
--- a/api/server/middleware/middleware.go
+++ b/api/server/middleware/middleware.go
@@ -3,5 +3,5 @@ package middleware
import "github.com/docker/docker/api/server/httputils"
// Middleware is an adapter to allow the use of ordinary functions as Docker API filters.
-// Any function that has the appropriate signature can be register as a middleware.
+// Any function that has the appropriate signature can be registered as a middleware.
type Middleware func(handler httputils.APIFunc) httputils.APIFunc