mirror of
https://github.com/containrrr/watchtower.git
synced 2025-12-14 06:06:38 +01:00
fix: remove linting issues
This commit is contained in:
parent
6c507433e8
commit
e4e1127f8e
7 changed files with 24 additions and 19 deletions
|
|
@ -50,7 +50,7 @@ func cleanupExcessWatchtowers(containers []container.Container, client container
|
|||
continue
|
||||
}
|
||||
|
||||
if cleanup == true {
|
||||
if cleanup {
|
||||
if err := client.RemoveImage(c); err != nil {
|
||||
// logging the original here as we're just returning a count
|
||||
logrus.Error(err)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue