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:
@@ -69,6 +69,7 @@ func (s *Scheduler) acquireLeader(ctx context.Context) (bool, error) {
|
||||
continue
|
||||
}
|
||||
|
||||
s.logger.Info("acquired lock, electing application to leader")
|
||||
return true, nil
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user