mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-15 06:01:50 +00:00
Merge pull request #126655 from tklauser/log-spelling-fix
client-go: fix typo in leaderelection error log message
This commit is contained in:
@@ -426,7 +426,7 @@ func (le *LeaderElector) tryAcquireOrRenew(ctx context.Context) bool {
|
|||||||
le.setObservedRecord(&leaderElectionRecord)
|
le.setObservedRecord(&leaderElectionRecord)
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
klog.Errorf("Failed to update lock optimitically: %v, falling back to slow path", err)
|
klog.Errorf("Failed to update lock optimistically: %v, falling back to slow path", err)
|
||||||
}
|
}
|
||||||
|
|
||||||
// 2. obtain or create the ElectionRecord
|
// 2. obtain or create the ElectionRecord
|
||||||
|
Reference in New Issue
Block a user