diff options
Diffstat (limited to 'src/monitor/pkg/controller/resourcebundlestate/helpers.go')
-rw-r--r-- | src/monitor/pkg/controller/resourcebundlestate/helpers.go | 2 |
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 |