Skip to content

Commit 725ad79

Browse files
petuominMo3m3n
authored andcommitted
MINOR: Reload if dynamic update of endpoints fail
1 parent 238df89 commit 725ad79

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

controller/service/endpoints.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,10 @@ func (s *SvcContext) HandleHAProxySrvs(client api.HAProxyClient, store store.K8s
4444
s.updateHAProxySrv(client, *srvSlot, backend.Endpoints.Port)
4545
}
4646
}
47+
if backend.DynUpdateFailed {
48+
backend.DynUpdateFailed = false
49+
return true
50+
}
4751
return srvsScaled
4852
}
4953

0 commit comments

Comments
 (0)