Add container id to exit file missing warning
Signed-off-by: Mrunal Patel <mrunalp@gmail.com>
This commit is contained in:
parent
4e6ed3d974
commit
8a0fc5a963
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