Merge pull request #435 from surajssd/print-pid-int

Print received container pid as int
This commit is contained in:
Antonio Murdaca 2017-04-06 18:49:32 +02:00 committed by GitHub
commit 88be3a2f91

View file

@ -179,7 +179,7 @@ func (r *Runtime) CreateContainer(c *Container, cgroupParent string) error {
if ss.err != nil { if ss.err != nil {
return err return err
} }
logrus.Infof("Received container pid: %q", ss.si.Pid) logrus.Infof("Received container pid: %d", ss.si.Pid)
case <-time.After(ContainerCreateTimeout): case <-time.After(ContainerCreateTimeout):
return fmt.Errorf("create container timeout") return fmt.Errorf("create container timeout")
} }