We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 128fdfc commit 9cfeda8Copy full SHA for 9cfeda8
internal/mode/static/telemetry/collector_test.go
@@ -37,7 +37,9 @@ type listCallsFunc = func(
37
) error
38
39
func createListCallsFunc(objects ...client.ObjectList) listCallsFunc {
40
- return func(_ context.Context, object client.ObjectList, _ ...client.ListOption) error {
+ return func(_ context.Context, object client.ObjectList, option ...client.ListOption) error {
41
+ Expect(option).To(BeEmpty())
42
+
43
for _, obj := range objects {
44
if reflect.TypeOf(obj) == reflect.TypeOf(object) {
45
reflect.ValueOf(object).Elem().Set(reflect.ValueOf(obj).Elem())
0 commit comments