Skip to content

Commit

Permalink
use deprecated kube stream pkg
Browse files Browse the repository at this point in the history
  • Loading branch information
niqdev committed Sep 28, 2023
1 parent 6d3d335 commit 303de25
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/client/kubernetes/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import (
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
"k8s.io/apimachinery/pkg/labels"
"k8s.io/apimachinery/pkg/watch"
"k8s.io/cli-runtime/pkg/genericiooptions"
"k8s.io/cli-runtime/pkg/genericclioptions"
applyv1 "k8s.io/client-go/applyconfigurations/core/v1"
"k8s.io/client-go/kubernetes"
app "k8s.io/client-go/kubernetes/typed/apps/v1"
Expand Down Expand Up @@ -406,7 +406,7 @@ func (client *KubeClient) PodExec(opts *PodExecOpts) error {
streamOptions := exec.StreamOptions{
Stdin: true,
TTY: opts.IsTty,
IOStreams: genericiooptions.IOStreams{
IOStreams: genericclioptions.IOStreams{
In: opts.InStream,
Out: opts.OutStream,
ErrOut: opts.ErrStream,
Expand Down

0 comments on commit 303de25

Please sign in to comment.