summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGiuseppe Scrivano <gscrivan@redhat.com>2018-06-08 10:29:41 +0200
committerAtomic Bot <atomic-devel@projectatomic.io>2018-06-15 14:53:19 +0000
commit733a6a5f10579d4e971631029403bd1cfa54baba (patch)
tree34ff5560c9bf6a2fa6b61ec22fd21942ecc8e011
parent4086a0f7371dbe5ea104dafe83aadb77b969c0ba (diff)
downloadpodman-733a6a5f10579d4e971631029403bd1cfa54baba.tar.gz
podman-733a6a5f10579d4e971631029403bd1cfa54baba.tar.bz2
podman-733a6a5f10579d4e971631029403bd1cfa54baba.zip
container: specify path to error message
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com> Closes: #871 Approved by: mheon
-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 fa09d1ca4..ffe3a5edc 100644
--- a/libpod/container_attach.go
+++ b/libpod/container_attach.go
@@ -85,7 +85,7 @@ func (c *Container) attachContainerSocket(resize <-chan remotecommand.TerminalSi
conn, err := net.DialUnix("unixpacket", nil, &net.UnixAddr{Name: c.AttachSocketPath(), Net: "unixpacket"})
if err != nil {
- return errors.Wrapf(err, "failed to connect to container's attach socket: %v")
+ return errors.Wrapf(err, "failed to connect to container's attach socket: %v", c.AttachSocketPath())
}
defer conn.Close()