File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -39,7 +39,8 @@ import (
3939
4040 "k8s.io/apimachinery/pkg/types"
4141 "k8s.io/apimachinery/pkg/util/runtime"
42- "k8s.io/apiserver/pkg/util/wsstream"
42+
43+ "github.com/containerd/containerd/pkg/cri/streaming/wsstream"
4344)
4445
4546// PortForwarder knows how to forward content from a data stream to/from a port
Original file line number Diff line number Diff line change @@ -48,7 +48,8 @@ import (
4848 "k8s.io/apimachinery/pkg/types"
4949 "k8s.io/apimachinery/pkg/util/runtime"
5050 "k8s.io/apiserver/pkg/server/httplog"
51- "k8s.io/apiserver/pkg/util/wsstream"
51+
52+ "github.com/containerd/containerd/pkg/cri/streaming/wsstream"
5253)
5354
5455const (
Original file line number Diff line number Diff line change @@ -48,10 +48,11 @@ import (
4848 "k8s.io/apimachinery/pkg/util/httpstream/spdy"
4949 remotecommandconsts "k8s.io/apimachinery/pkg/util/remotecommand"
5050 "k8s.io/apimachinery/pkg/util/runtime"
51- "k8s.io/apiserver/pkg/util/wsstream"
5251 "k8s.io/client-go/tools/remotecommand"
5352
5453 "k8s.io/klog/v2"
54+
55+ "github.com/containerd/containerd/pkg/cri/streaming/wsstream"
5556)
5657
5758// Options contains details about which streams are required for
Original file line number Diff line number Diff line change @@ -39,7 +39,8 @@ import (
3939
4040 "k8s.io/apimachinery/pkg/util/runtime"
4141 "k8s.io/apiserver/pkg/server/httplog"
42- "k8s.io/apiserver/pkg/util/wsstream"
42+
43+ "github.com/containerd/containerd/pkg/cri/streaming/wsstream"
4344)
4445
4546const (
You can’t perform that action at this time.
0 commit comments