Skip to content

Commit 3ae395f

Browse files
tanjunchenvincepri
authored andcommitted
feat:Remove master word from our codebase
1 parent 91647f1 commit 3ae395f

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
@@ -150,7 +150,7 @@ type controllerManager struct {
150150
// leaseDuration is the duration that non-leader candidates will
151151
// wait to force acquire leadership.
152152
leaseDuration time.Duration
153-
// renewDeadline is the duration that the acting master will retry
153+
// renewDeadline is the duration that the acting controlplane will retry
154154
// refreshing leadership before giving up.
155155
renewDeadline time.Duration
156156
// 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
@@ -143,7 +143,7 @@ type Options struct {
143143
// wait to force acquire leadership. This is measured against time of
144144
// last observed ack. Default is 15 seconds.
145145
LeaseDuration *time.Duration
146-
// RenewDeadline is the duration that the acting master will retry
146+
// RenewDeadline is the duration that the acting controlplane will retry
147147
// refreshing leadership before giving up. Default is 10 seconds.
148148
RenewDeadline *time.Duration
149149
// RetryPeriod is the duration the LeaderElector clients should wait

0 commit comments

Comments
 (0)