summaryrefslogtreecommitdiff
path: root/libpod/oci_conmon_exec_linux.go
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2021-02-25 19:00:14 +0100
committerGitHub <noreply@github.com>2021-02-25 19:00:14 +0100
commitb220d6cd06360d6b868cd7fb7c32d2602aab69a5 (patch)
tree6777cc2c23306d1a6b87ef40b9fe4eab2764b7dd /libpod/oci_conmon_exec_linux.go
parent9ec8106841c55bc085012727748e2d73826be97d (diff)
parent24d9bda7ff8a3e6a9f249401e05e35e73284ae61 (diff)
downloadpodman-b220d6cd06360d6b868cd7fb7c32d2602aab69a5.tar.gz
podman-b220d6cd06360d6b868cd7fb7c32d2602aab69a5.tar.bz2
podman-b220d6cd06360d6b868cd7fb7c32d2602aab69a5.zip
Merge pull request #9518 from baude/pruneremotecommand
prune remotecommand dependency
Diffstat (limited to 'libpod/oci_conmon_exec_linux.go')
-rw-r--r--libpod/oci_conmon_exec_linux.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/libpod/oci_conmon_exec_linux.go b/libpod/oci_conmon_exec_linux.go
index c5f42fe3e..173edba2b 100644
--- a/libpod/oci_conmon_exec_linux.go
+++ b/libpod/oci_conmon_exec_linux.go
@@ -17,7 +17,6 @@ import (
"github.com/pkg/errors"
"github.com/sirupsen/logrus"
"golang.org/x/sys/unix"
- "k8s.io/client-go/tools/remotecommand"
)
// ExecContainer executes a command in a running container
@@ -191,7 +190,7 @@ func (r *ConmonOCIRuntime) ExecContainerDetached(ctr *Container, sessionID strin
}
// ExecAttachResize resizes the TTY of the given exec session.
-func (r *ConmonOCIRuntime) ExecAttachResize(ctr *Container, sessionID string, newSize remotecommand.TerminalSize) error {
+func (r *ConmonOCIRuntime) ExecAttachResize(ctr *Container, sessionID string, newSize define.TerminalSize) error {
controlFile, err := openControlFile(ctr, ctr.execBundlePath(sessionID))
if err != nil {
return err