1
0
mirror of https://github.com/moby/moby.git synced 2025-08-01 05:47:11 +03:00

replace handleWithGlobalMiddlewares with handlerWithGlobalMiddlewares

Signed-off-by: mgniu <mgniu@dataman-inc.com>
This commit is contained in:
mgniu
2016-08-12 10:50:22 +08:00
parent 2a540c18b6
commit e743ab0882
3 changed files with 3 additions and 3 deletions

View File

@ -39,7 +39,7 @@ func TestMiddlewares(t *testing.T) {
return nil
}
handlerFunc := srv.handleWithGlobalMiddlewares(localHandler)
handlerFunc := srv.handlerWithGlobalMiddlewares(localHandler)
if err := handlerFunc(ctx, resp, req, map[string]string{}); err != nil {
t.Fatal(err)
}