1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
moby--moby/api/server
David Calavera 389ce0aae6 Remove defensive check of mux vars handling.
We should not check if the mux framework internals work as expected in every handler.
The missing parameter error doesn't make sense from the user point of view.

This change initializes a proper vars context if the mux fails to do so and delegates
specific parameter error checks to the handlers.

Signed-off-by: David Calavera <david.calavera@gmail.com>
2015-10-14 10:31:09 -07:00
..
httputils Remove defensive check of mux vars handling. 2015-10-14 10:31:09 -07:00
router Remove defensive check of mux vars handling. 2015-10-14 10:31:09 -07:00
middleware.go Separate API router from server. 2015-09-29 19:43:03 -04:00
middleware_test.go Separate API router from server. 2015-09-29 19:43:03 -04:00
profiler.go api/server fix golint errors/warnings. 2015-07-28 22:44:39 +00:00
server.go Remove defensive check of mux vars handling. 2015-10-14 10:31:09 -07:00
server_test.go Separate API router from server. 2015-09-29 19:43:03 -04:00
server_unix.go Refactor listenFD function 2015-10-07 14:26:48 -07:00
server_windows.go Allocate resources for server API before daemon creation 2015-10-05 09:32:08 -07:00