Skip to content

Commit

Permalink
Merge pull request #46052 from davidewatson/spelling
Browse files Browse the repository at this point in the history
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
  • Loading branch information
Kubernetes Submit Queue authored May 19, 2017
2 parents 8594af7 + 204fb62 commit 8d0cce3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/client/leaderelection/leaderelection.go
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down

0 comments on commit 8d0cce3

Please sign in to comment.