From f7de90516f0a7a527e0d6515a9da4d628654d9cf Mon Sep 17 00:00:00 2001 From: Kenfe-Mickael Laventure Date: Mon, 12 Sep 2016 09:32:51 -0700 Subject: [PATCH] Add missing printf parameter when starttime write fails Signed-off-by: Kenfe-Mickael Laventure --- runtime/container.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/runtime/container.go b/runtime/container.go index 636fa8f..9e82a0c 100644 --- a/runtime/container.go +++ b/runtime/container.go @@ -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):