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/router
Andrea Luzzardi 0d94260458 router: Return explicit error rather than 404 for experimental.
Instead of not adding experimental routes at all, fail with an explicit
message if the daemon is not running in experimental mode.

Added the `router.Experimental` which does this automatically.

Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
(cherry picked from commit 3976a33c1a)
Signed-off-by: Victor Vieux <victorvieux@gmail.com>
2016-11-19 23:47:12 -08:00
..
build
checkpoint router: Return explicit error rather than 404 for experimental. 2016-11-19 23:47:12 -08:00
container
image
network
plugin
swarm router: Return explicit error rather than 404 for experimental. 2016-11-19 23:47:12 -08:00
system
volume
experimental.go router: Return explicit error rather than 404 for experimental. 2016-11-19 23:47:12 -08:00
local.go
router.go