Skip to content

Commit

Permalink
fix: Add missing negation (#67)
Browse files Browse the repository at this point in the history
Signed-off-by: Kushal Beniwal <[email protected]>
  • Loading branch information
kbeniwal authored Mar 20, 2023
1 parent 42221ff commit c9f3d8a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down

0 comments on commit c9f3d8a

Please sign in to comment.