Skip to content

Commit b35985b

Browse files
committed
Cleanup duplicated words
Signed-off-by: mooncake <xcoder@tenxcloud.com>
1 parent 902ff11 commit b35985b

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

pkg/doc.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ Owning ReplicaSet Namespace and Name.
170170
Watching and EventHandling
171171
172172
Controllers may Watch multiple Kinds of objects (e.g. Pods, ReplicaSets and Deployments), but they Reconciler
173-
only a single Type. When one Type of object must be be updated in response to changes in another Type of object,
173+
only a single Type. When one Type of object must be updated in response to changes in another Type of object,
174174
an EnqueueRequestFromMapFunc may be used to map events from one type to another. e.g. Respond to a cluster resize
175175
event (add / delete Node) by re-reconciling all instances of some API.
176176

pkg/envtest/server.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -83,12 +83,12 @@ type Environment struct {
8383
// This is useful in cases that need aggregated API servers and the like.
8484
UseExistingCluster bool
8585

86-
// ControlPlaneStartTimeout is the the maximum duration each controlplane component
86+
// ControlPlaneStartTimeout is the maximum duration each controlplane component
8787
// may take to start. It defaults to the KUBEBUILDER_CONTROLPLANE_START_TIMEOUT
8888
// environment variable or 20 seconds if unspecified
8989
ControlPlaneStartTimeout time.Duration
9090

91-
// ControlPlaneStopTimeout is the the maximum duration each controlplane component
91+
// ControlPlaneStopTimeout is the maximum duration each controlplane component
9292
// may take to stop. It defaults to the KUBEBUILDER_CONTROLPLANE_STOP_TIMEOUT
9393
// environment variable or 20 seconds if unspecified
9494
ControlPlaneStopTimeout time.Duration

pkg/webhook/internal/cert/provisioner.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ type Options struct {
4848
Objects []runtime.Object
4949
}
5050

51-
// Provision provisions certificates for for the WebhookClientConfig.
51+
// Provision provisions certificates for the WebhookClientConfig.
5252
// It ensures the cert and CA are valid and not expiring.
5353
// It updates the CABundle in the webhookClientConfig if necessary.
5454
// It inject the WebhookClientConfig into options.Objects.

0 commit comments

Comments
 (0)