summaryrefslogtreecommitdiff
path: root/cmd/kpod/run.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/run.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/run.go')
-rw-r--r--cmd/kpod/run.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/cmd/kpod/run.go b/cmd/kpod/run.go
index 934096c21..7e078f66a 100644
--- a/cmd/kpod/run.go
+++ b/cmd/kpod/run.go
@@ -100,7 +100,7 @@ func runCmd(c *cli.Context) error {
if err := ctr.Init(); err != nil {
return err
}
- logrus.Debug("container storage created for %q", ctr.ID())
+ logrus.Debugf("container storage created for %q", ctr.ID())
if c.String("cidfile") != "" {
libpod.WriteFile(ctr.ID(), c.String("cidfile"))
@@ -119,7 +119,7 @@ func runCmd(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(false, c.String("detach-keys"), attached); err != nil {
logrus.Errorf("unable to attach to container %s: %q", ctr.ID(), err)