mirror of
https://github.com/containrrr/watchtower.git
synced 2025-09-21 21:30:48 +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:
parent
4275d1cd3d
commit
b7424e5c47
1 changed files with 1 additions and 1 deletions
|
@ -41,7 +41,7 @@ func Update(client container.Client) error {
|
|||
container := containers[i]
|
||||
|
||||
if container.IsWatchtower() {
|
||||
break
|
||||
continue
|
||||
}
|
||||
|
||||
if container.Stale {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue