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 @@ -260,6 +260,8 @@ func (c *HAProxyController) setupHAProxyRules() error {
260260// clean haproxy config state
261261func (c * HAProxyController ) clean (failedSync bool ) {
262262 c .haproxy .Clean ()
263+ // Need to do that even if transaction failed otherwise at fix time, they won't be reprocessed.
264+ c .store .BackendProcessed = map [string ]struct {}{}
263265 logger .Error (c .setupHAProxyRules ())
264266 if ! failedSync {
265267 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