Merge pull request #1348 from mrunalp/debug_exit_file
Add container id to exit file missing warning
This commit is contained in:
commit
6de90e046a
1 changed files with 1 additions and 1 deletions
|
@ -691,7 +691,7 @@ func (r *Runtime) UpdateStatus(c *Container) error {
|
||||||
return true, nil
|
return true, nil
|
||||||
})
|
})
|
||||||
if err != nil {
|
if err != nil {
|
||||||
logrus.Warnf("failed to find container exit file: %v", err)
|
logrus.Warnf("failed to find container exit file for %v: %v", c.id, err)
|
||||||
c.state.ExitCode = -1
|
c.state.ExitCode = -1
|
||||||
} else {
|
} else {
|
||||||
c.state.Finished = getFinishedTime(fi)
|
c.state.Finished = getFinishedTime(fi)
|
||||||
|
|
Loading…
Reference in a new issue