Merge pull request #23783 from Microsoft/WaitExitDebug

Windows: Added stateinfo to WaitExit info to aid debugging daemon hangs
Upstream-commit: ca669eb849da992aa218dfa48a830a0fc0966cbb
Component: engine
This commit is contained in:
Alexander Morozov
2016-06-21 14:32:31 -07:00
committed by GitHub
@@ -263,12 +263,12 @@ func (ctr *container) waitExit(process *process, isFirstProcessToStart bool) err
}
// Call into the backend to notify it of the state change.
logrus.Debugf("waitExit() calling backend.StateChanged %v", si)
logrus.Debugf("waitExit() calling backend.StateChanged %+v", si)
if err := ctr.client.backend.StateChanged(ctr.containerID, si); err != nil {
logrus.Error(err)
}
logrus.Debugln("waitExit() completed OK")
logrus.Debugf("waitExit() completed OK, %+v", si)
return nil
}