summaryrefslogtreecommitdiff
path: root/cmd/kpod/attach.go
diff options
context:
space:
mode:
authorDaniel J Walsh <dwalsh@redhat.com>2017-12-11 14:03:21 -0600
committerGitHub <noreply@github.com>2017-12-11 14:03:21 -0600
commitf38e2d0cd29caf3304f4f1efcb5b1d071cb95baf (patch)
tree94a413875065ede3e73bd429425ca62629eba326 /cmd/kpod/attach.go
parentb85d0fa4ea5b6515088a3475a56a44c0cee5bfc5 (diff)
parente64da85ccbd48e619401dd155b79fa4890e2684b (diff)
downloadpodman-f38e2d0cd29caf3304f4f1efcb5b1d071cb95baf.tar.gz
podman-f38e2d0cd29caf3304f4f1efcb5b1d071cb95baf.tar.bz2
podman-f38e2d0cd29caf3304f4f1efcb5b1d071cb95baf.zip
Merge pull request #103 from surajssd/fix-debug-statement
Use debugf to allow parsing of format specifier
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)