You've already forked watchtower
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:
@ -41,7 +41,7 @@ func Update(client container.Client) error {
|
||||
container := containers[i]
|
||||
|
||||
if container.IsWatchtower() {
|
||||
break
|
||||
continue
|
||||
}
|
||||
|
||||
if container.Stale {
|
||||
|
Reference in New Issue
Block a user