Add missing printf parameter when starttime write fails

Signed-off-by: Kenfe-Mickael Laventure <mickael.laventure@gmail.com>
This commit is contained in:
Kenfe-Mickael Laventure 2016-09-12 09:32:51 -07:00
parent 35a736c471
commit f7de90516f

View file

@ -631,7 +631,7 @@ func (c *container) waitForCreate(p *process, cmd *exec.Cmd) error {
}
err = p.saveStartTime()
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
case <-time.After(c.timeout):