mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-14 21:53:52 +00:00
client-go: fix typo in leaderelection error log message
This commit is contained in:
committed by
Tobias Klauser
parent
099a88370d
commit
99a90df3d0
@@ -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