Merge pull request #316 from mlaventure/add-missing-printf-arg

Add missing printf parameter when starttime write fails
This commit is contained in:
Kenfe-Mickaël Laventure 2016-09-12 09:39:44 -07:00 committed by GitHub
commit 4c21ad662f

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):