container: specify path to error message

Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>

Closes: #871
Approved by: mheon
This commit is contained in:
Giuseppe Scrivano 2018-06-08 10:29:41 +02:00 committed by Atomic Bot
parent 4086a0f737
commit 733a6a5f10
1 changed files with 1 additions and 1 deletions

View File

@ -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()