Docker module: restarted should update the container when necessary

pull/18777/head
Yann Hamon 9 years ago committed by Matt Clay
parent 444895f889
commit 1faf8dd5c2

@ -1643,6 +1643,10 @@ def restarted(manager, containers, count, name):
containers.refresh()
for container in manager.get_differing_containers():
manager.stop_containers([container])
manager.remove_containers([container])
manager.restart_containers(containers.running)
started(manager, containers, count, name)

Loading…
Cancel
Save