@@ -24,7 +24,7 @@ import (
24
24
"context"
25
25
"fmt"
26
26
27
- "k8s.io/cli-runtime/pkg/genericclioptions "
27
+ "k8s.io/cli-runtime/pkg/genericiooptions "
28
28
29
29
fdbv1beta2 "github.com/FoundationDB/fdb-kubernetes-operator/v2/api/v1beta2"
30
30
. "github.com/onsi/ginkgo/v2"
@@ -57,7 +57,7 @@ var _ = Describe("[plugin] buggify crash-loop process groups command", func() {
57
57
DescribeTable ("should add all targeted process groups to crash-loop container list" ,
58
58
func (tc processGroupOptionsTestCase ) {
59
59
Expect (cluster .Spec .Buggify .CrashLoopContainers ).To (HaveLen (0 ))
60
- cmd := newBuggifyCrashLoop (genericclioptions .IOStreams {})
60
+ cmd := newBuggifyCrashLoop (genericiooptions .IOStreams {})
61
61
opts := buggifyProcessGroupOptions {
62
62
containerName : fdbv1beta2 .MainContainerName ,
63
63
wait : false ,
@@ -229,7 +229,7 @@ var _ = Describe("[plugin] buggify crash-loop process groups command", func() {
229
229
DescribeTable ("should add all targeted process groups to crash-loop container list" ,
230
230
func (tc testCase ) {
231
231
Expect (cluster .Spec .Buggify .CrashLoopContainers ).To (HaveLen (1 ))
232
- cmd := newBuggifyCrashLoop (genericclioptions .IOStreams {})
232
+ cmd := newBuggifyCrashLoop (genericiooptions .IOStreams {})
233
233
opts := buggifyProcessGroupOptions {
234
234
containerName : fdbv1beta2 .MainContainerName ,
235
235
wait : false ,
@@ -310,7 +310,7 @@ var _ = Describe("[plugin] buggify crash-loop process groups command", func() {
310
310
DescribeTable ("should add all targeted processes to crash-loop container list" ,
311
311
func (tc testCase ) {
312
312
Expect (cluster .Spec .Buggify .CrashLoopContainers ).To (HaveLen (1 ))
313
- cmd := newBuggifyCrashLoop (genericclioptions .IOStreams {})
313
+ cmd := newBuggifyCrashLoop (genericiooptions .IOStreams {})
314
314
opts := buggifyProcessGroupOptions {
315
315
containerName : fdbv1beta2 .MainContainerName ,
316
316
wait : false ,
@@ -391,7 +391,7 @@ var _ = Describe("[plugin] buggify crash-loop process groups command", func() {
391
391
"should remove all targeted process groups from crash-loop container list" ,
392
392
func (tc testCase ) {
393
393
Expect (cluster .Spec .Buggify .CrashLoopContainers ).To (HaveLen (1 ))
394
- cmd := newBuggifyCrashLoop (genericclioptions .IOStreams {})
394
+ cmd := newBuggifyCrashLoop (genericiooptions .IOStreams {})
395
395
opts := buggifyProcessGroupOptions {
396
396
containerName : fdbv1beta2 .MainContainerName ,
397
397
wait : false ,
@@ -470,7 +470,7 @@ var _ = Describe("[plugin] buggify crash-loop process groups command", func() {
470
470
471
471
It ("should clear everything from the crash-loop container-list" , func () {
472
472
Expect (cluster .Spec .Buggify .CrashLoopContainers ).To (HaveLen (1 ))
473
- cmd := newBuggifyCrashLoop (genericclioptions .IOStreams {})
473
+ cmd := newBuggifyCrashLoop (genericiooptions .IOStreams {})
474
474
opts := buggifyProcessGroupOptions {
475
475
containerName : fdbv1beta2 .MainContainerName ,
476
476
wait : false ,
@@ -500,7 +500,7 @@ var _ = Describe("[plugin] buggify crash-loop process groups command", func() {
500
500
})
501
501
It ("should error if no cluster name is provided" , func () {
502
502
Expect (cluster .Spec .Buggify .CrashLoopContainers ).To (HaveLen (1 ))
503
- cmd := newBuggifyCrashLoop (genericclioptions .IOStreams {})
503
+ cmd := newBuggifyCrashLoop (genericiooptions .IOStreams {})
504
504
opts := buggifyProcessGroupOptions {
505
505
containerName : fdbv1beta2 .MainContainerName ,
506
506
wait : false ,
0 commit comments