From b986e8938aaa26945dc7dcdcb990ec8aa53afff0 Mon Sep 17 00:00:00 2001 From: Ritu Sood Date: Wed, 8 Jul 2020 20:44:33 -0700 Subject: Update Rsync Changed Rsync to use ordered install. Changed to use cli-runtime instead of go-client. Based on code from repo https://github.com/johandry/klient Issue-ID: MULTICLOUD-1005 Signed-off-by: Ritu Sood Change-Id: I4c2537cb74bd4d24a409cc1f0b7f9ee0875a4e39 --- src/monitor/pkg/controller/resourcebundlestate/helpers.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/monitor/pkg/controller/resourcebundlestate') 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 -- cgit 1.2.3-korg