Skip to content

Commit 0c99040

Browse files
authored
Merge pull request #7282 from oscr/remove-doubles
🌱 grammar: remove duplicate words
2 parents c0b6631 + 5c38bf7 commit 0c99040

File tree

23 files changed

+26
-26
lines changed

23 files changed

+26
-26
lines changed

api/v1alpha3/machineset_types.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ type MachineSetSpec struct {
5757

5858
// Template is the object that describes the machine that will be created if
5959
// insufficient replicas are detected.
60-
// Object references to custom resources resources are treated as templates.
60+
// Object references to custom resources are treated as templates.
6161
// +optional
6262
Template MachineTemplateSpec `json:"template,omitempty"`
6363
}

api/v1alpha4/machineset_types.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ type MachineSetSpec struct {
6464

6565
// Template is the object that describes the machine that will be created if
6666
// insufficient replicas are detected.
67-
// Object references to custom resources resources are treated as templates.
67+
// Object references to custom resources are treated as templates.
6868
// +optional
6969
Template MachineTemplateSpec `json:"template,omitempty"`
7070
}

api/v1beta1/machineset_types.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ type MachineSetSpec struct {
6565

6666
// Template is the object that describes the machine that will be created if
6767
// insufficient replicas are detected.
68-
// Object references to custom resources resources are treated as templates.
68+
// Object references to custom resources are treated as templates.
6969
// +optional
7070
Template MachineTemplateSpec `json:"template,omitempty"`
7171
}

api/v1beta1/zz_generated.openapi.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

bootstrap/kubeadm/api/v1alpha3/condition_consts.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,6 @@ const (
6363
CertificatesGenerationFailedReason = "CertificatesGenerationFailed"
6464

6565
// CertificatesCorruptedReason (Severity=Error) documents a KubeadmConfig controller detecting
66-
// an error while while retrieving certificates for a joining node.
66+
// an error while retrieving certificates for a joining node.
6767
CertificatesCorruptedReason = "CertificatesCorrupted"
6868
)

bootstrap/kubeadm/api/v1alpha4/condition_consts.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,6 @@ const (
5656
CertificatesGenerationFailedReason = "CertificatesGenerationFailed"
5757

5858
// CertificatesCorruptedReason (Severity=Error) documents a KubeadmConfig controller detecting
59-
// an error while while retrieving certificates for a joining node.
59+
// an error while retrieving certificates for a joining node.
6060
CertificatesCorruptedReason = "CertificatesCorrupted"
6161
)

bootstrap/kubeadm/api/v1beta1/condition_consts.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,6 @@ const (
5656
CertificatesGenerationFailedReason = "CertificatesGenerationFailed"
5757

5858
// CertificatesCorruptedReason (Severity=Error) documents a KubeadmConfig controller detecting
59-
// an error while while retrieving certificates for a joining node.
59+
// an error while retrieving certificates for a joining node.
6060
CertificatesCorruptedReason = "CertificatesCorrupted"
6161
)

cmd/clusterctl/api/v1alpha3/provider_type.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,8 @@ type Provider struct {
4747
// +optional
4848
Version string `json:"version,omitempty"`
4949

50-
// WatchedNamespace indicates the namespace where the provider controller is is watching.
51-
// if empty the provider controller is watching for objects in all namespaces.
50+
// WatchedNamespace indicates the namespace where the provider controller is watching.
51+
// If empty the provider controller is watching for objects in all namespaces.
5252
// Deprecated: in clusterctl v1alpha4 all the providers watch all the namespaces; this field will be removed in a future version of this API
5353
// +optional
5454
WatchedNamespace string `json:"watchedNamespace,omitempty"`

cmd/clusterctl/client/cluster/cert_manager.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -531,7 +531,7 @@ func (cm *certManagerClient) deleteObj(obj unstructured.Unstructured) error {
531531
// 'create' operations will only be attempted once.
532532
func (cm *certManagerClient) waitForAPIReady(_ context.Context, retry bool) error {
533533
log := logf.Log
534-
// Waits for for the cert-manager to be available.
534+
// Waits for the cert-manager to be available.
535535
if retry {
536536
log.Info("Waiting for cert-manager to be available...")
537537
}

cmd/clusterctl/client/cluster/proxy.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ type Proxy interface {
5959
// NewClient returns a new controller runtime Client object for working on the management cluster.
6060
NewClient() (client.Client, error)
6161

62-
// CheckClusterAvailable checks if a a cluster is available and reachable.
62+
// CheckClusterAvailable checks if a cluster is available and reachable.
6363
CheckClusterAvailable() error
6464

6565
// ListResources lists namespaced and cluster-wide resources for a component matching the labels. Namespaced resources are only listed

0 commit comments

Comments
 (0)