Skip to content

Commit 597e9f9

Browse files
committed
BUG: fix reloading haproxy when deletion of rules
1 parent ccd5c81 commit 597e9f9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

controller/haproxy/rules/main.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -187,6 +187,7 @@ func (r SectionRules) refreshRule(client api.HAProxyClient, ruleType Type, i int
187187
delete(frontendRuleSet.meta, id)
188188
frontendRuleSet.rules[ruleType] = append(rules[:i], rules[i+1:]...)
189189
logger.Debugf("HAProxy rule '%s' deleted", constLookup[ruleType])
190+
reload = true
190191
return
191192
}
192193
// Create HAProxy Rule

0 commit comments

Comments
 (0)