summaryrefslogtreecommitdiff
path: root/cmd/kpod/start.go
diff options
context:
space:
mode:
authorSuraj Deshmukh <surajd.service@gmail.com>2017-12-05 12:08:08 +0530
committerSuraj Deshmukh <surajd.service@gmail.com>2017-12-12 00:13:44 +0530
commite64da85ccbd48e619401dd155b79fa4890e2684b (patch)
tree94a413875065ede3e73bd429425ca62629eba326 /cmd/kpod/start.go
parentb85d0fa4ea5b6515088a3475a56a44c0cee5bfc5 (diff)
downloadpodman-e64da85ccbd48e619401dd155b79fa4890e2684b.tar.gz
podman-e64da85ccbd48e619401dd155b79fa4890e2684b.tar.bz2
podman-e64da85ccbd48e619401dd155b79fa4890e2684b.zip
Use debugf to allow parsing of format specifier
Signed-off-by: Suraj Deshmukh <surajd.service@gmail.com>
Diffstat (limited to 'cmd/kpod/start.go')
-rw-r--r--cmd/kpod/start.go6
1 files changed, 3 insertions, 3 deletions
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)