aboutsummaryrefslogtreecommitdiffstats
path: root/src/monitor/pkg/controller
diff options
context:
space:
mode:
Diffstat (limited to 'src/monitor/pkg/controller')
-rw-r--r--src/monitor/pkg/controller/resourcebundlestate/helpers.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/monitor/pkg/controller/resourcebundlestate/helpers.go b/src/monitor/pkg/controller/resourcebundlestate/helpers.go
index 5a5676f8..9a6538b4 100644
--- a/src/monitor/pkg/controller/resourcebundlestate/helpers.go
+++ b/src/monitor/pkg/controller/resourcebundlestate/helpers.go
@@ -44,7 +44,7 @@ func listResources(cli client.Client, namespace string,
LabelSelector: labels.SelectorFromSet(labelSelector),
}
- err := cli.List(context.TODO(), listOptions, returnData)
+ err := cli.List(context.TODO(), returnData, listOptions)
if err != nil {
log.Printf("Failed to list CRs: %v", err)
return err