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:
@ -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)
|
||||
}
|
||||
|
Reference in New Issue
Block a user