Files
docker-cli/components/cli/cli
pnagy 2a4728f860 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>
(cherry picked from commit 27e8bdf32b)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2017-09-19 11:21:42 +02:00
..
2017-09-08 16:03:45 -07:00
2017-09-08 16:03:45 -07:00
2017-09-08 16:03:45 -07:00
2017-04-24 11:31:08 -07:00
2017-04-17 17:40:59 -04:00
2017-05-09 14:22:51 -07:00