File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed
Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -284,6 +284,8 @@ func (c *HAProxyController) setupHAProxyRules() error {
284284// clean haproxy config state
285285func (c * HAProxyController ) clean (failedSync bool ) {
286286 c .haproxy .Clean ()
287+ // Need to do that even if transaction failed otherwise at fix time, they won't be reprocessed.
288+ c .store .BackendProcessed = map [string ]struct {}{}
287289 logger .Error (c .setupHAProxyRules ())
288290 if ! failedSync {
289291 c .store .Clean ()
Original file line number Diff line number Diff line change @@ -134,7 +134,6 @@ func (k *K8s) Clean() {
134134 }
135135 }
136136 k .SecretsProcessed = map [string ]struct {}{}
137- k .BackendProcessed = map [string ]struct {}{}
138137}
139138
140139// GetNamespace returns Namespace. Creates one if not existing
You can’t perform that action at this time.
0 commit comments