From da89d284731015a7c77c1bf17feaa360c1fa3832 Mon Sep 17 00:00:00 2001 From: Suraj Deshmukh Date: Thu, 6 Apr 2017 22:14:29 +0530 Subject: [PATCH] Print received container pid as int Earlier the received container pid was printed as unicode character, this is fixed to print integer. Fixes #431 --- oci/oci.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/oci/oci.go b/oci/oci.go index a00a819e..8c2124dc 100644 --- a/oci/oci.go +++ b/oci/oci.go @@ -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") }