1
0
mirror of https://github.com/containrrr/watchtower.git synced 2025-07-15 23:54:22 +02:00

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.
This commit is contained in:
Brian DeHamer
2015-07-24 21:11:49 +00:00
parent 4275d1cd3d
commit b7424e5c47

View File

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