diff options
author | Daniel J Walsh <dwalsh@redhat.com> | 2022-01-06 08:32:33 -0500 |
---|---|---|
committer | Daniel J Walsh <dwalsh@redhat.com> | 2022-01-06 16:21:02 -0500 |
commit | 1941d45e327c54eb054d6f63d852dfebfe19c18b (patch) | |
tree | 1f79cde5f519715ac5b151f5e16cfb76b7b08ba1 /libpod/oci_attach_linux.go | |
parent | d62752819214ee7f910e25d368d427fbcac74b17 (diff) | |
download | podman-1941d45e327c54eb054d6f63d852dfebfe19c18b.tar.gz podman-1941d45e327c54eb054d6f63d852dfebfe19c18b.tar.bz2 podman-1941d45e327c54eb054d6f63d852dfebfe19c18b.zip |
add OCI Runtime name to errors
It would be easier to diagnose OCI runtime errors if the error actually
had the name of the OCI runtime that produced the error.
[NO NEW TESTS NEEDED]
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
Diffstat (limited to 'libpod/oci_attach_linux.go')
-rw-r--r-- | libpod/oci_attach_linux.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libpod/oci_attach_linux.go b/libpod/oci_attach_linux.go index 1f2a28ead..a382f6043 100644 --- a/libpod/oci_attach_linux.go +++ b/libpod/oci_attach_linux.go @@ -143,7 +143,7 @@ func (c *Container) attachToExec(streams *define.AttachStreams, keys *string, se } // 2: read from attachFd that the parent process has set up the console socket - if _, err := readConmonPipeData(attachFd, ""); err != nil { + if _, err := readConmonPipeData(c.ociRuntime.Name(), attachFd, ""); err != nil { return err } |