Skip to content

Commit

Permalink
Merge pull request #246 from gujingit/feature/lease
Browse files Browse the repository at this point in the history
change resource lock to leaseLock
  • Loading branch information
k8s-ci-robot authored Mar 19, 2021
2 parents 6fda98c + 4376130 commit 5c84e19
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/cloudprovider/app/ccm.go
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ func NewServerCCM() *ServerCCM {
LeaseDuration: metav1.Duration{Duration: 15 * time.Second},
RenewDeadline: metav1.Duration{Duration: 10 * time.Second},
RetryPeriod: metav1.Duration{Duration: 2 * time.Second},
ResourceLock: resourcelock.EndpointsResourceLock,
ResourceLock: resourcelock.LeasesResourceLock,
},
ControllerStartInterval: metav1.Duration{Duration: 0 * time.Second},
},
Expand Down

0 comments on commit 5c84e19

Please sign in to comment.