Commit 8d0cce3f authored by Kubernetes Submit Queue's avatar Kubernetes Submit Queue Committed by GitHub

Merge pull request #46052 from davidewatson/spelling

Automatic merge from submit-queue Correct spelling in comment **What this PR does / why we need it**: Corrects two misspelled names in a comment. **Which issue this PR fixes**: N/A **Special notes for your reviewer**: NONE **Release note**: NONE
parents 8594af76 204fb62d
......@@ -71,7 +71,7 @@ const (
DefaultRetryPeriod = 2 * time.Second
)
// NewLeadereElector creates a LeaderElector from a LeaderElecitionConfig
// NewLeaderElector creates a LeaderElector from a LeaderElectionConfig
func NewLeaderElector(lec LeaderElectionConfig) (*LeaderElector, error) {
if lec.LeaseDuration <= lec.RenewDeadline {
return nil, fmt.Errorf("leaseDuration must be greater than renewDeadline")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment