Add container id to exit file missing warning
Signed-off-by: Mrunal Patel <mrunalp@gmail.com>
This commit is contained in:
parent
4e6ed3d974
commit
d4dd6566ee
1 changed files with 1 additions and 1 deletions
|
@ -691,7 +691,7 @@ func (r *Runtime) UpdateStatus(c *Container) error {
|
|||
return true, 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
|
||||
} else {
|
||||
c.state.Finished = getFinishedTime(fi)
|
||||
|
|
Loading…
Reference in a new issue