tokers commented on a change in pull request #827:
URL: 
https://github.com/apache/apisix-ingress-controller/pull/827#discussion_r778026882



##########
File path: pkg/ingress/controller.go
##########
@@ -380,10 +380,7 @@ func (c *Controller) Run(stop chan struct{}) error {
                                
c.apisix.DeleteCluster(c.cfg.APISIX.DefaultClusterName)
                        },
                },
-               // Set it to false as current leaderelection implementation 
will report
-               // "Failed to release lock: resource name may not be empty" 
error when
-               // ReleaseOnCancel is true and the Run context is cancelled.
-               ReleaseOnCancel: false,

Review comment:
       OK.




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to