moby/daemon/cluster
Aaron Lehmann ff70cbf5ea Shutdown leaks an error when the container was never started
I found that sometimes tasks would end up in a rejected state when
trying to update them quickly. The problem was that Shutdown could fail
if called before the container was started. Instead of returning an
error in this case, Shutdown should succeed. This allows tasks to
progress to the "shutdown" state as expected.

Signed-off-by: Aaron Lehmann <aaron.lehmann@docker.com>
(cherry picked from commit 37b492ae1b)
Signed-off-by: Victor Vieux <victorvieux@gmail.com>
2017-02-23 00:00:01 -08:00
..
convert Change the way IPAM configuration is handled on stack deploy 2017-01-04 20:25:04 +01:00
executor Shutdown leaks an error when the container was never started 2017-02-23 00:00:01 -08:00
provider Add engine-api types to docker 2016-09-07 11:05:58 -07:00
cluster.go Merge pull request #31134 from thaJeztah/update-swagger 2017-02-17 22:26:43 -08:00
filters.go secrets: secret management for swarm 2016-11-09 14:27:43 -05:00
helpers.go fix changes for 1.13.x branch 2017-02-17 17:21:58 -08:00
listen_addr.go Reject unspecified advertise addr on swarm init 2016-11-29 14:12:45 -08:00
listen_addr_linux.go Add fallback to resolveSystemAddr() in linux 2016-09-09 13:27:57 -07:00
listen_addr_others.go Add functional support for Docker sub commands on Solaris 2016-11-07 09:06:34 -08:00
listen_addr_solaris.go Add functional support for Docker sub commands on Solaris 2016-11-07 09:06:34 -08:00
secrets.go judge manager before getting secret 2016-11-14 11:54:29 -08:00