Print received container pid as int

Earlier the received container pid was printed as unicode
character, this is fixed to print integer.

Fixes #431
This commit is contained in:
Suraj Deshmukh 2017-04-06 22:14:29 +05:30
parent e0abd16421
commit da89d28473

View file

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