Skip to content

Commit 9cfeda8

Browse files
committed
Add one more small revert
1 parent 128fdfc commit 9cfeda8

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

internal/mode/static/telemetry/collector_test.go

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,9 @@ type listCallsFunc = func(
3737
) error
3838

3939
func createListCallsFunc(objects ...client.ObjectList) listCallsFunc {
40-
return func(_ context.Context, object client.ObjectList, _ ...client.ListOption) error {
40+
return func(_ context.Context, object client.ObjectList, option ...client.ListOption) error {
41+
Expect(option).To(BeEmpty())
42+
4143
for _, obj := range objects {
4244
if reflect.TypeOf(obj) == reflect.TypeOf(object) {
4345
reflect.ValueOf(object).Elem().Set(reflect.ValueOf(obj).Elem())

0 commit comments

Comments
 (0)