output error when starting a rescheduled container fails.

Signed-off-by: Sun Hongliang <allen.sun@daocloud.io>
This commit is contained in:
Sun Hongliang 2016-03-25 19:28:46 +08:00
parent 510ea94890
commit ec0c3f7bbd
1 changed files with 1 additions and 1 deletions

View File

@ -84,7 +84,7 @@ func (w *Watchdog) rescheduleContainers(e *Engine) {
if c.Info.State.Running {
log.Infof("Container %s was running, starting container %s", c.Id, newContainer.Id)
if err := w.cluster.StartContainer(newContainer, nil); err != nil {
log.Errorf("Failed to start rescheduled container %s", newContainer.Id)
log.Errorf("Failed to start rescheduled container %s: %v", newContainer.Id, err)
}
}
}