summaryrefslogtreecommitdiff
path: root/libpod/oci_missing.go
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2020-03-04 11:11:01 -0500
committerGitHub <noreply@github.com>2020-03-04 11:11:01 -0500
commit83895524959750e16da2fd43b9da6389b4e20b46 (patch)
treeece55b81c619e8f0a3ef004f588515e52d79eec1 /libpod/oci_missing.go
parentce7ed2205a6a2a4557b14a3e1e818839c7c8bbfd (diff)
parentd3d97a25e8c87cf741b2e24ac01ef84962137106 (diff)
downloadpodman-83895524959750e16da2fd43b9da6389b4e20b46.tar.gz
podman-83895524959750e16da2fd43b9da6389b4e20b46.tar.bz2
podman-83895524959750e16da2fd43b9da6389b4e20b46.zip
Merge pull request #5373 from haircommander/exec-pipe-ec
exec: get the exit code from sync pipe instead of file
Diffstat (limited to 'libpod/oci_missing.go')
-rw-r--r--libpod/oci_missing.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/libpod/oci_missing.go b/libpod/oci_missing.go
index ff7eea625..1b7c1979d 100644
--- a/libpod/oci_missing.go
+++ b/libpod/oci_missing.go
@@ -121,8 +121,8 @@ func (r *MissingRuntime) AttachResize(ctr *Container, newSize remotecommand.Term
}
// ExecContainer is not available as the runtime is missing
-func (r *MissingRuntime) ExecContainer(ctr *Container, sessionID string, options *ExecOptions) (int, chan error, error) {
- return -1, nil, r.printError()
+func (r *MissingRuntime) ExecContainer(ctr *Container, sessionID string, options *ExecOptions) (chan DataAndErr, chan error, error) {
+ return nil, nil, r.printError()
}
// ExecStopContainer is not available as the runtime is missing.