DockerCLI/cli
pnagy 27e8bdf32b sort secrets and configs to ensure idempotence
`docker stack deploy` keeps restarting services it doesn't need to (no changes)
because the entries' order gets randomized at some previous (de)serialization.
Maybe it would be worth looking into this at a higher level and ensure
all (de)serialization happens in an ordered collection.

This quick fix sorts secrets and configs (in place, mutably) which ensures the
same order for each run.

Based on
https://github.com/moby/moby/pull/30506

Fixes
https://github.com/moby/moby/issues/34746

Signed-off-by: Peter Nagy <xificurC@gmail.com>
2017-09-08 16:09:48 +02:00
..
command Merge pull request #424 from simonferquel/update-vendoring 2017-09-05 15:06:09 -04:00
compose sort secrets and configs to ensure idempotence 2017-09-08 16:09:48 +02:00
config Use new internal testutil.ErrorContains() 2017-08-22 10:14:25 -04:00
debug updated vendoring 2017-09-01 19:41:06 -04:00
flags updated vendoring 2017-09-01 19:41:06 -04:00
trust updated vendoring 2017-09-01 19:41:06 -04:00
winresources Add windows resources to binary. 2017-05-15 18:03:03 -04:00
cobra.go fix docker/docker/cli path in comment 2017-04-24 11:31:08 -07:00
error.go Import docker/docker/cli 2017-04-17 17:40:59 -04:00
required.go Singularize / pluralize "argument(s)" in error message 2017-08-12 18:25:38 +02:00
required_test.go Singularize / pluralize "argument(s)" in error message 2017-08-12 18:25:38 +02:00
version.go Display proper version information 2017-05-09 14:22:51 -07:00