summaryrefslogtreecommitdiff
path: root/libpod/container_attach.go
diff options
context:
space:
mode:
authorMatthew Heon <mheon@redhat.com>2018-01-26 03:11:34 -0500
committerAtomic Bot <atomic-devel@projectatomic.io>2018-01-27 06:26:20 +0000
commitfb58b873981d2fd0d4f97036afab2aa2ce9e1633 (patch)
treefa3b19bcdc7efd837d187b326481b8e8e713a1d9 /libpod/container_attach.go
parent36e6009f00ecf9a78b7c8d747bb551bbc6da3d85 (diff)
downloadpodman-fb58b873981d2fd0d4f97036afab2aa2ce9e1633.tar.gz
podman-fb58b873981d2fd0d4f97036afab2aa2ce9e1633.tar.bz2
podman-fb58b873981d2fd0d4f97036afab2aa2ce9e1633.zip
Strip unused format specifier
Signed-off-by: Matthew Heon <mheon@redhat.com> Closes: #263 Approved by: umohnani8
Diffstat (limited to 'libpod/container_attach.go')
-rw-r--r--libpod/container_attach.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/libpod/container_attach.go b/libpod/container_attach.go
index 46b306133..86bf7ee14 100644
--- a/libpod/container_attach.go
+++ b/libpod/container_attach.go
@@ -59,7 +59,7 @@ func (c *Container) attachContainerSocket(resize <-chan remotecommand.TerminalSi
controlPath := filepath.Join(c.bundlePath(), "ctl")
controlFile, err := os.OpenFile(controlPath, unix.O_WRONLY, 0)
if err != nil {
- return errors.Wrapf(err, "failed to open container ctl file: %v")
+ return errors.Wrapf(err, "failed to open container ctl file")
}
defer controlFile.Close()