From e64da85ccbd48e619401dd155b79fa4890e2684b Mon Sep 17 00:00:00 2001 From: Suraj Deshmukh Date: Tue, 5 Dec 2017 12:08:08 +0530 Subject: Use debugf to allow parsing of format specifier Signed-off-by: Suraj Deshmukh --- cmd/kpod/start.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'cmd/kpod/start.go') diff --git a/cmd/kpod/start.go b/cmd/kpod/start.go index c874c541c..88dadb1c8 100644 --- a/cmd/kpod/start.go +++ b/cmd/kpod/start.go @@ -2,14 +2,14 @@ package main import ( "fmt" + "os" + "strconv" "sync" "github.com/pkg/errors" "github.com/projectatomic/libpod/libpod" "github.com/sirupsen/logrus" "github.com/urfave/cli" - "os" - "strconv" ) var ( @@ -104,7 +104,7 @@ func startCmd(c *cli.Context) error { wg.Add(1) // Attach to the running container go func() { - logrus.Debug("trying to attach to the container %s", ctr.ID()) + logrus.Debugf("trying to attach to the container %s", ctr.ID()) defer wg.Done() if err := ctr.Attach(noStdIn, c.String("detach-keys"), attached); err != nil { logrus.Errorf("unable to attach to container %s: %q", ctr.ID(), err) -- cgit v1.2.3-54-g00ecf