summaryrefslogtreecommitdiff
path: root/libpod/oci_conmon_exec_linux.go
diff options
context:
space:
mode:
authorGiuseppe Scrivano <gscrivan@redhat.com>2020-12-24 21:59:16 +0100
committerGiuseppe Scrivano <gscrivan@redhat.com>2020-12-24 22:01:38 +0100
commit2a976392632fb1eee80e215ba84ff1365ae816a9 (patch)
treed58aa633d2623bd89e231cac257be109955436df /libpod/oci_conmon_exec_linux.go
parent231c528a4db9d312bd43b2ce15017e734349a12f (diff)
downloadpodman-2a976392632fb1eee80e215ba84ff1365ae816a9.tar.gz
podman-2a976392632fb1eee80e215ba84ff1365ae816a9.tar.bz2
podman-2a976392632fb1eee80e215ba84ff1365ae816a9.zip
libpod: change function to accept ExecOptions
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
Diffstat (limited to 'libpod/oci_conmon_exec_linux.go')
-rw-r--r--libpod/oci_conmon_exec_linux.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/libpod/oci_conmon_exec_linux.go b/libpod/oci_conmon_exec_linux.go
index f8e7020f7..4546acefb 100644
--- a/libpod/oci_conmon_exec_linux.go
+++ b/libpod/oci_conmon_exec_linux.go
@@ -387,7 +387,7 @@ func (r *ConmonOCIRuntime) startExec(c *Container, sessionID string, options *Ex
finalEnv = append(finalEnv, fmt.Sprintf("%s=%s", k, v))
}
- processFile, err := prepareProcessExec(c, options.Cmd, finalEnv, options.Terminal, options.Cwd, options.User, sessionID)
+ processFile, err := prepareProcessExec(c, options, finalEnv, sessionID)
if err != nil {
return nil, nil, err
}