summaryrefslogtreecommitdiff
path: root/cmd/kpod/attach.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/attach.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/attach.go')
-rw-r--r--cmd/kpod/attach.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/kpod/attach.go b/cmd/kpod/attach.go
index d319ff70d..700023abe 100644
--- a/cmd/kpod/attach.go
+++ b/cmd/kpod/attach.go
@@ -71,7 +71,7 @@ func attachCmd(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(c.Bool("no-stdin"), c.String("detach-keys"), attached); err != nil {
logrus.Errorf("unable to attach to container %s: %q", ctr.ID(), err)