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/swarm
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
..
backend.go Return warnings from service create and service update when digest pinning fails 2016-11-18 13:57:11 -08:00
cluster.go router: Return explicit error rather than 404 for experimental. 2016-11-19 23:47:12 -08:00
cluster_routes.go Return warnings from service create and service update when digest pinning fails 2016-11-18 13:57:11 -08:00