Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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 moby/moby#30506 Fixes moby/moby#34746 Signed-off-by: Peter Nagy <xificurC@gmail.com>
- Loading branch information