diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2021-02-25 19:00:14 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-02-25 19:00:14 +0100 |
commit | b220d6cd06360d6b868cd7fb7c32d2602aab69a5 (patch) | |
tree | 6777cc2c23306d1a6b87ef40b9fe4eab2764b7dd /pkg/kubeutils | |
parent | 9ec8106841c55bc085012727748e2d73826be97d (diff) | |
parent | 24d9bda7ff8a3e6a9f249401e05e35e73284ae61 (diff) | |
download | podman-b220d6cd06360d6b868cd7fb7c32d2602aab69a5.tar.gz podman-b220d6cd06360d6b868cd7fb7c32d2602aab69a5.tar.bz2 podman-b220d6cd06360d6b868cd7fb7c32d2602aab69a5.zip |
Merge pull request #9518 from baude/pruneremotecommand
prune remotecommand dependency
Diffstat (limited to 'pkg/kubeutils')
-rw-r--r-- | pkg/kubeutils/resize.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pkg/kubeutils/resize.go b/pkg/kubeutils/resize.go index afc697d98..957e10f45 100644 --- a/pkg/kubeutils/resize.go +++ b/pkg/kubeutils/resize.go @@ -17,14 +17,14 @@ limitations under the License. package kubeutils import ( + "github.com/containers/podman/v3/libpod/define" "k8s.io/apimachinery/pkg/util/runtime" - "k8s.io/client-go/tools/remotecommand" ) // HandleResizing spawns a goroutine that processes the resize channel, calling resizeFunc for each // remotecommand.TerminalSize received from the channel. The resize channel must be closed elsewhere to stop the // goroutine. -func HandleResizing(resize <-chan remotecommand.TerminalSize, resizeFunc func(size remotecommand.TerminalSize)) { +func HandleResizing(resize <-chan define.TerminalSize, resizeFunc func(size define.TerminalSize)) { if resize == nil { return } |