Skip to content

Commit

Permalink
change resource lock to leaseLock
Browse files Browse the repository at this point in the history
  • Loading branch information
gujingit committed Mar 9, 2021
1 parent cf3535b commit 4376130
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 4376130

Please sign in to comment.