some linting

This commit is contained in:
Fabrizio Steiner 2018-03-02 22:37:50 +01:00
parent 1f10817b4b
commit d0ac9f14ab
5 changed files with 23 additions and 35 deletions

View file

@ -216,10 +216,9 @@ 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())
}
log.Debugf("No new images found for %s", c.Name())
return false, nil
}