Merge pull request #316 from mlaventure/add-missing-printf-arg
Add missing printf parameter when starttime write fails
This commit is contained in:
commit
4c21ad662f
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…
Reference in a new issue