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
Aaron Lehmann d4392659f7 Return warnings from service create and service update when digest pinning fails
Modify the service update and create APIs to return optional warning
messages as part of the response. Populate these messages with an
informative reason when digest resolution fails.

This is a small API change, but significantly improves the UX. The user
can now get immediate feedback when they've specified a nonexistent
image or unreachable registry.

Signed-off-by: Aaron Lehmann <aaron.lehmann@docker.com>
(cherry picked from commit 948e60691e)
Signed-off-by: Victor Vieux <victorvieux@gmail.com>
2016-11-18 13:57:11 -08:00
..
httputils api/server/httputils: service unavailable for disable swarm 2016-11-18 13:44:36 -08:00
middleware Revise swarm init/update flags, add unlocking capability 2016-11-09 16:09:00 -08:00
router Return warnings from service create and service update when digest pinning fails 2016-11-18 13:57:11 -08:00
middleware.go change comment 2016-08-26 18:30:41 +08:00
profiler.go add trace in docker engine's pprof to show execution trace in binary form 2016-05-13 15:24:44 +08:00
router_swapper.go fix typos 2016-03-06 00:59:11 +08:00
server.go fix typo 2016-11-18 13:27:01 -08:00
server_test.go replace handleWithGlobalMiddlewares with handlerWithGlobalMiddlewares 2016-08-12 10:53:11 +08:00