DockerCLI/cli/compose/convert
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
..
compose.go Add support for configs to compose format 2017-05-16 17:10:14 -04:00
compose_test.go Replace pkg/testutil/tempfile with gotestyourself/fs 2017-08-16 14:23:28 -04:00
service.go sort secrets and configs to ensure idempotence 2017-09-08 16:09:48 +02:00
service_test.go Change the type of interval, timeout and start_period of healthcheck from string to * time.Duration 2017-08-30 23:39:12 +08:00
volume.go Change to enable volume name can be customized. 2017-07-27 15:09:05 -07:00
volume_test.go Change to enable volume name can be customized. 2017-07-27 15:09:05 -07:00