Skip to content
Snippets Groups Projects
Commit 368da35a authored by diamonwiggins's avatar diamonwiggins
Browse files

cleaning up references to found variable

parent 954fcb69
No related branches found
No related tags found
No related merge requests found
......@@ -40,10 +40,8 @@ func ReconcileWAFRuleInstances(ctx context.Context, instance crdsv1alpha1.WebApp
rulesToUpdate := []cloudflare.WAFRule{}
for _, existingRule := range existingRules {
found := false
for _, desiredRule := range desiredRules {
if desiredRule.ID == existingRule.ID {
found = true
isChanged := false
if desiredRule.PackageID != "" {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment