1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
moby--moby/cli/command/service
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
..
cmd.go refactor help func in CLI 2016-11-18 13:30:44 -08:00
create.go Return warnings from service create and service update when digest pinning fails 2016-11-18 13:57:11 -08:00
inspect.go Fix typs from go to Go 2016-10-18 19:40:16 +08:00
inspect_test.go Fix broken JSON support in cli/command/formatter 2016-10-17 08:07:17 +00:00
list.go support show numbers of global service in service ls command 2016-11-08 16:17:15 +08:00
logs.go cli: docker service logs support 2016-11-10 13:46:02 -08:00
opts.go Add support for host port PublishMode in services 2016-11-10 18:07:55 -08:00
opts_test.go more review updates 2016-11-09 14:27:45 -05:00
parse.go SecretRequestOptions -> SecretRequestOption 2016-11-09 14:27:45 -05:00
ps.go Add -a option to service/node ps 2016-11-06 07:40:39 -05:00
remove.go Move api/client -> cli/command 2016-09-08 15:46:29 -04:00
scale.go Return warnings from service create and service update when digest pinning fails 2016-11-18 13:57:11 -08:00
update.go Return warnings from service create and service update when digest pinning fails 2016-11-18 13:57:11 -08:00
update_test.go Add support for host port PublishMode in services 2016-11-10 18:07:55 -08:00