Add missing printf parameter when starttime write fails
Signed-off-by: Kenfe-Mickael Laventure <mickael.laventure@gmail.com>
This commit is contained in:
parent
35a736c471
commit
f7de90516f
1 changed files with 1 additions and 1 deletions
|
@ -631,7 +631,7 @@ func (c *container) waitForCreate(p *process, cmd *exec.Cmd) error {
|
||||||
}
|
}
|
||||||
err = p.saveStartTime()
|
err = p.saveStartTime()
|
||||||
if err != nil {
|
if err != nil {
|
||||||
logrus.Warnf("containerd: unable to save %s:%s starttime: %v", p.container.id, p.id)
|
logrus.Warnf("containerd: unable to save %s:%s starttime: %v", p.container.id, p.id, err)
|
||||||
}
|
}
|
||||||
return nil
|
return nil
|
||||||
case <-time.After(c.timeout):
|
case <-time.After(c.timeout):
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue