mirror of
https://github.com/stakater/Reloader.git
synced 2026-08-23 22:16:45 +00:00
Move consts to const pkg
Should move leadership bits to own pkg?
This commit is contained in:
@@ -177,4 +177,5 @@ func (c *Controller) handleErr(err error, key interface{}) {
|
||||
|
||||
func (c *Controller) SetLeader(isLeader bool) {
|
||||
c.isLeader = isLeader
|
||||
logrus.Info("controller active")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user