Skip to content

Commit

Permalink
Autopilot minor ver update fix
Browse files Browse the repository at this point in the history
Signed-off-by: Alexey Makhov <[email protected]>
  • Loading branch information
makhov committed May 20, 2024
1 parent ea64cc4 commit 5d9b6e3
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions pkg/component/controller/workerconfig/reconciler.go
Original file line number Diff line number Diff line change
Expand Up @@ -250,11 +250,6 @@ func (r *Reconciler) runReconcileLoop(ctx context.Context, updates <-chan update
return fmt.Errorf("%w while processing reconciliation", errStoppedConcurrently)
}

if !r.leaderElector.IsLeader() {
r.log.Debug("Skipping reconciliation, not the leader")
return nil
}

if desiredState.configSnapshot == nil || len(desiredState.apiServers) < 1 {
r.log.Debug("Skipping reconciliation, snapshot not yet complete")
return nil
Expand Down

0 comments on commit 5d9b6e3

Please sign in to comment.