We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1b84fd9 commit 38f57e8Copy full SHA for 38f57e8
pkg/controller/controller.go
@@ -175,6 +175,8 @@ func (c *HAProxyController) updateHAProxy() {
175
logger.Error(handler.Update(c.store, c.haproxy, c.annotations))
176
}
177
178
+ fs.Writer.WaitUntilWritesDone()
179
+
180
err = c.haproxy.APICommitTransaction()
181
if err != nil {
182
logger.Error("unable to Sync HAProxy configuration !!")
@@ -197,8 +199,6 @@ func (c *HAProxyController) updateHAProxy() {
197
199
c.setToReady()
198
200
201
- fs.Writer.WaitUntilWritesDone()
-
202
if instance.NeedReload() {
203
fs.RunDelayedFuncs()
204
if err = c.haproxy.Service("reload"); err != nil {
0 commit comments