Merge pull request #1972 from yannh/docker-restarted

Docker module: restarted should update the container when necessary
reviewable/pr18780/r1
Toshio Kuratomi 9 years ago
commit d907f889a3

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

Loading…
Cancel
Save