summaryrefslogtreecommitdiff
path: root/libpod/oci_missing.go
diff options
context:
space:
mode:
authorMatthew Heon <matthew.heon@pm.me>2020-03-09 13:07:20 -0400
committerGitHub <noreply@github.com>2020-03-09 13:07:20 -0400
commitd2764e93df580755fe1b3a1befb79eeff75c4bc4 (patch)
tree55d76cb8b46031646d13ec4c64750e7d1b34f395 /libpod/oci_missing.go
parent342d99fbc2a990dcd4c122b45a8bb1a14059a338 (diff)
parent521ff14d83e387f39058c65361a68d83edae61ba (diff)
downloadpodman-d2764e93df580755fe1b3a1befb79eeff75c4bc4.tar.gz
podman-d2764e93df580755fe1b3a1befb79eeff75c4bc4.tar.bz2
podman-d2764e93df580755fe1b3a1befb79eeff75c4bc4.zip
Merge pull request #5429 from mheon/revert_exec_changes
Revert exec changes
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 1b7c1979d..ff7eea625 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) (chan DataAndErr, chan error, error) {
- return nil, nil, r.printError()
+func (r *MissingRuntime) ExecContainer(ctr *Container, sessionID string, options *ExecOptions) (int, chan error, error) {
+ return -1, nil, r.printError()
}
// ExecStopContainer is not available as the runtime is missing.