Skip to content

Commit ea795f6

Browse files
authored
Merge pull request #1038 from tanjunchen/remove-master
feat:Remove master word from our codebase
2 parents 04f2831 + 0438a9c commit ea795f6

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

pkg/manager/internal.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ type controllerManager struct {
155155
// leaseDuration is the duration that non-leader candidates will
156156
// wait to force acquire leadership.
157157
leaseDuration time.Duration
158-
// renewDeadline is the duration that the acting master will retry
158+
// renewDeadline is the duration that the acting controlplane will retry
159159
// refreshing leadership before giving up.
160160
renewDeadline time.Duration
161161
// retryPeriod is the duration the LeaderElector clients should wait

pkg/manager/manager.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ type Options struct {
144144
// wait to force acquire leadership. This is measured against time of
145145
// last observed ack. Default is 15 seconds.
146146
LeaseDuration *time.Duration
147-
// RenewDeadline is the duration that the acting master will retry
147+
// RenewDeadline is the duration that the acting controlplane will retry
148148
// refreshing leadership before giving up. Default is 10 seconds.
149149
RenewDeadline *time.Duration
150150
// RetryPeriod is the duration the LeaderElector clients should wait

0 commit comments

Comments
 (0)