Skip to content

Commit db3247a

Browse files
fix verify
1 parent d23d883 commit db3247a

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

pkg/datagatherer/k8sdynamic/dynamic_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ func TestNewDataGathererWithClientAndSharedIndexInformer(t *testing.T) {
191191
"version=v1",
192192
},
193193
}
194-
clientset := fakeclientset.NewSimpleClientset()
194+
clientset := fakeclientset.NewClientset()
195195
dg, err := config.newDataGathererWithClient(ctx, nil, clientset)
196196
if err != nil {
197197
t.Errorf("expected no error but got: %v", err)
@@ -1172,7 +1172,7 @@ func TestDynamicGathererNativeResources_Fetch(t *testing.T) {
11721172
var wg sync.WaitGroup
11731173
ctx := t.Context()
11741174

1175-
clientset := fakeclientset.NewSimpleClientset(tc.addObjects...)
1175+
clientset := fakeclientset.NewClientset(tc.addObjects...)
11761176

11771177
// init the datagatherer's informer with the client
11781178
dg, err := tc.config.newDataGathererWithClient(ctx, nil, clientset)

0 commit comments

Comments
 (0)