chore: add more specific log for when leader is acquired
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
f2ef496b82
commit
86a32513cc
BIN
assets/demo.gif
BIN
assets/demo.gif
Binary file not shown.
Before Width: | Height: | Size: 85 KiB After Width: | Height: | Size: 28 KiB |
@ -69,6 +69,7 @@ func (s *Scheduler) acquireLeader(ctx context.Context) (bool, error) {
|
|||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
|
|
||||||
|
s.logger.Info("acquired lock, electing application to leader")
|
||||||
return true, nil
|
return true, nil
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user