Skip to content

Commit 5c6cbc9

Browse files
tanjunchenvincepri
authored andcommitted
feat:Remove master word from our codebase
1 parent 213e78c commit 5c6cbc9

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
@@ -146,7 +146,7 @@ type controllerManager struct {
146146
// leaseDuration is the duration that non-leader candidates will
147147
// wait to force acquire leadership.
148148
leaseDuration time.Duration
149-
// renewDeadline is the duration that the acting master will retry
149+
// renewDeadline is the duration that the acting controlplane will retry
150150
// refreshing leadership before giving up.
151151
renewDeadline time.Duration
152152
// 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
@@ -131,7 +131,7 @@ type Options struct {
131131
// wait to force acquire leadership. This is measured against time of
132132
// last observed ack. Default is 15 seconds.
133133
LeaseDuration *time.Duration
134-
// RenewDeadline is the duration that the acting master will retry
134+
// RenewDeadline is the duration that the acting controlplane will retry
135135
// refreshing leadership before giving up. Default is 10 seconds.
136136
RenewDeadline *time.Duration
137137
// RetryPeriod is the duration the LeaderElector clients should wait

0 commit comments

Comments
 (0)