From c9f3d8a10e5c434d2c9eb758eb64616a52b15205 Mon Sep 17 00:00:00 2001 From: "kushal (she/her)" <125429069+kbeniwal@users.noreply.github.com> Date: Mon, 20 Mar 2023 19:37:39 +0530 Subject: [PATCH] fix: Add missing negation (#67) Signed-off-by: Kushal Beniwal --- main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.go b/main.go index ebcbe9e..df02a79 100644 --- a/main.go +++ b/main.go @@ -150,7 +150,7 @@ func createAWSAdapterConfigIfNotPresent(r *controllers.AWSAdapterConfigReconcile adapterNamespace: getAdapterNamespace(), } - if rp.areAllPresent() { + if !rp.areAllPresent() { setupLog.Info("One or more of the required parameters could not be found: clusterName='%s' clusterRegion='%s' adapterName='%s' adapterNamespace='%s'", rp.clusterName, rp.clusterRegion, rp.adapterName, rp.adapterNamespace) return }