mirror of
https://github.com/docker/docs.git
synced 2026-04-01 00:38:52 +07:00
output error when starting a rescheduled container fails.
Signed-off-by: Sun Hongliang <allen.sun@daocloud.io>
This commit is contained in:
@@ -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)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user