Fix issue where updated containers aren't stopped

Used 'break' instead of 'continue' resulting in the termination of the
stop container loop any time the watchtower container is encountered.
pull/1/head
Brian DeHamer 9 years ago
parent 4275d1cd3d
commit b7424e5c47

@ -41,7 +41,7 @@ func Update(client container.Client) error {
container := containers[i] container := containers[i]
if container.IsWatchtower() { if container.IsWatchtower() {
break continue
} }
if container.Stale { if container.Stale {

Loading…
Cancel
Save