mirror of
https://github.com/containrrr/watchtower.git
synced 2025-09-21 21:30:48 +02:00
fix: remove linting issues
This commit is contained in:
parent
6c507433e8
commit
e4e1127f8e
7 changed files with 24 additions and 19 deletions
|
@ -95,7 +95,9 @@ func restartStaleContainer(container container.Container, client container.Clien
|
|||
}
|
||||
|
||||
if params.Cleanup {
|
||||
client.RemoveImage(container)
|
||||
if err := client.RemoveImage(container); err != nil {
|
||||
log.Error(err)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue