Skip to content

Commit

Permalink
BUG/MINOR: triggers a reload if an Ingress is deleted
Browse files Browse the repository at this point in the history
  • Loading branch information
fabianonunes authored and oktalz committed Aug 3, 2022
1 parent f0c92bf commit 18b47de
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/handler/refresh.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ func (handler Refresh) Update(k store.K8s, h haproxy.HAProxy, a annotations.Anno
reload = h.RefreshMaps(h.HAProxyClient) || reload
// Backends
deleted, err := h.RefreshBackends()
reload = len(deleted) > 0 || reload
logger.Error(err)
for _, backend := range deleted {
logger.Debugf("Backend '%s' deleted", backend)
Expand Down

0 comments on commit 18b47de

Please sign in to comment.