mirror of
https://github.com/containrrr/watchtower.git
synced 2025-09-21 21:30:48 +02:00
Migrate from codegangsta lib to urfave
This commit is contained in:
parent
61ac18fce5
commit
b13e6af70f
13 changed files with 6 additions and 2021 deletions
|
@ -172,7 +172,10 @@ func (client dockerClient) IsContainerStale(c Container) (bool, error) {
|
|||
if newImageInfo.ID != oldImageInfo.ID {
|
||||
log.Infof("Found new %s image (%s)", imageName, newImageInfo.ID)
|
||||
return true, nil
|
||||
} else {
|
||||
log.Debugf("No new images found for %s", c.Name())
|
||||
}
|
||||
|
||||
|
||||
return false, nil
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue