mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
reuse the type
This commit is contained in:
parent
a3b1a9f01a
commit
d639f61ec1
1 changed files with 1 additions and 1 deletions
2
api.go
2
api.go
|
@ -914,7 +914,7 @@ func makeHttpHandler(srv *Server, logging bool, localMethod string, localRoute s
|
|||
func createRouter(srv *Server, logging bool) (*mux.Router, error) {
|
||||
r := mux.NewRouter()
|
||||
|
||||
m := map[string]map[string]func(*Server, float64, http.ResponseWriter, *http.Request, map[string]string) error{
|
||||
m := map[string]map[string]HttpApiFunc{
|
||||
"GET": {
|
||||
"/auth": getAuth,
|
||||
"/version": getVersion,
|
||||
|
|
Loading…
Add table
Reference in a new issue