Skip to content

Commit 6f32527

Browse files
committed
switch over references to the new package
Signed-off-by: Davanum Srinivas <[email protected]>
1 parent 0a85d47 commit 6f32527

4 files changed

Lines changed: 8 additions & 4 deletions

File tree

pkg/cri/streaming/portforward/portforward.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff 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

pkg/cri/streaming/portforward/websocket.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff 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

5455
const (

pkg/cri/streaming/remotecommand/httpstream.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff 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

pkg/cri/streaming/remotecommand/websocket.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff 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

4546
const (

0 commit comments

Comments
 (0)