|
|
@ -45,8 +45,7 @@ func Update(client container.Client, names []string, cleanup bool, noRestart boo
|
|
|
|
for i, container := range containers {
|
|
|
|
for i, container := range containers {
|
|
|
|
stale, err := client.IsContainerStale(container)
|
|
|
|
stale, err := client.IsContainerStale(container)
|
|
|
|
if err != nil {
|
|
|
|
if err != nil {
|
|
|
|
log.Infof("Unable to update container %s. Proceeding to next.", containers[i].Name())
|
|
|
|
log.Infof("Unable to update container %s, err='%s'. Proceeding to next.", containers[i].Name(), err)
|
|
|
|
log.Debug(err)
|
|
|
|
|
|
|
|
stale = false
|
|
|
|
stale = false
|
|
|
|
}
|
|
|
|
}
|
|
|
|
containers[i].Stale = stale
|
|
|
|
containers[i].Stale = stale
|
|
|
|