mirror of https://github.com/docker/cli.git
27e8bdf32b
`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> |
||
---|---|---|
.. | ||
compose.go | ||
compose_test.go | ||
service.go | ||
service_test.go | ||
volume.go | ||
volume_test.go |