From 6fcce8523b8761e914cbca4ef555e5a699d59822 Mon Sep 17 00:00:00 2001 From: phillc <15082+phillc@users.noreply.github.com> Date: Mon, 21 Sep 2020 16:59:54 -0400 Subject: [PATCH] `find . -type f -name "*.go" -print0 | xargs -0 gsed -i 's/the the /the /g'` --- apis/management.cattle.io/v3/catalog_types.go | 12 ++++++------ .../v3/cluster_template_types.go | 2 +- apis/management.cattle.io/v3/cluster_types.go | 4 ++-- apis/management.cattle.io/v3/compose_types.go | 2 +- apis/management.cattle.io/v3/kontainer_types.go | 2 +- apis/management.cattle.io/v3/logging_types.go | 4 ++-- apis/management.cattle.io/v3/machine_types.go | 6 +++--- apis/management.cattle.io/v3/multi_cluster_app.go | 2 +- apis/management.cattle.io/v3/schema_types.go | 2 +- 9 files changed, 18 insertions(+), 18 deletions(-) diff --git a/apis/management.cattle.io/v3/catalog_types.go b/apis/management.cattle.io/v3/catalog_types.go index 7f47ab0a..2523eaa4 100644 --- a/apis/management.cattle.io/v3/catalog_types.go +++ b/apis/management.cattle.io/v3/catalog_types.go @@ -14,7 +14,7 @@ type Catalog struct { // Standard object’s metadata. More info: // https://github.com/kubernetes/community/blob/master/contributors/devel/api-conventions.md#metadata metav1.ObjectMeta `json:"metadata,omitempty"` - // Specification of the desired behavior of the the cluster. More info: + // Specification of the desired behavior of the cluster. More info: // https://github.com/kubernetes/community/blob/master/contributors/devel/api-conventions.md#spec-and-status Spec CatalogSpec `json:"spec"` Status CatalogStatus `json:"status"` @@ -69,7 +69,7 @@ type Template struct { // Standard object’s metadata. More info: // https://github.com/kubernetes/community/blob/master/contributors/devel/api-conventions.md#metadata metav1.ObjectMeta `json:"metadata,omitempty"` - // Specification of the desired behavior of the the cluster. More info: + // Specification of the desired behavior of the cluster. More info: // https://github.com/kubernetes/community/blob/master/contributors/devel/api-conventions.md#spec-and-status Spec TemplateSpec `json:"spec"` Status TemplateStatus `json:"status"` @@ -82,7 +82,7 @@ type CatalogTemplate struct { // Standard object’s metadata. More info: // https://github.com/kubernetes/community/blob/master/contributors/devel/api-conventions.md#metadata metav1.ObjectMeta `json:"metadata,omitempty"` - // Specification of the desired behavior of the the cluster. More info: + // Specification of the desired behavior of the cluster. More info: // https://github.com/kubernetes/community/blob/master/contributors/devel/api-conventions.md#spec-and-status Template } @@ -124,7 +124,7 @@ type TemplateVersion struct { // Standard object’s metadata. More info: // https://github.com/kubernetes/community/blob/master/contributors/devel/api-conventions.md#metadata metav1.ObjectMeta `json:"metadata,omitempty"` - // Specification of the desired behavior of the the cluster. More info: + // Specification of the desired behavior of the cluster. More info: // https://github.com/kubernetes/community/blob/master/contributors/devel/api-conventions.md#spec-and-status Spec TemplateVersionSpec `json:"spec"` Status TemplateVersionStatus `json:"status"` @@ -136,7 +136,7 @@ type CatalogTemplateVersion struct { // Standard object’s metadata. More info: // https://github.com/kubernetes/community/blob/master/contributors/devel/api-conventions.md#metadata metav1.ObjectMeta `json:"metadata,omitempty"` - // Specification of the desired behavior of the the cluster. More info: + // Specification of the desired behavior of the cluster. More info: // https://github.com/kubernetes/community/blob/master/contributors/devel/api-conventions.md#spec-and-status TemplateVersion } @@ -224,7 +224,7 @@ type TemplateContent struct { // Standard object’s metadata. More info: // https://github.com/kubernetes/community/blob/master/contributors/devel/api-conventions.md#metadata metav1.ObjectMeta `json:"metadata,omitempty"` - // Specification of the desired behavior of the the cluster. More info: + // Specification of the desired behavior of the cluster. More info: // https://github.com/kubernetes/community/blob/master/contributors/devel/api-conventions.md#spec-and-status Data string `json:"data,omitempty"` } diff --git a/apis/management.cattle.io/v3/cluster_template_types.go b/apis/management.cattle.io/v3/cluster_template_types.go index e4aeef36..6538c313 100644 --- a/apis/management.cattle.io/v3/cluster_template_types.go +++ b/apis/management.cattle.io/v3/cluster_template_types.go @@ -31,7 +31,7 @@ type ClusterTemplateRevision struct { // Standard object’s metadata. More info: // https://github.com/kubernetes/community/blob/master/contributors/devel/api-conventions.md#metadata metav1.ObjectMeta `json:"metadata,omitempty"` - // Specification of the desired behavior of the the cluster. More info: + // Specification of the desired behavior of the cluster. More info: // https://github.com/kubernetes/community/blob/master/contributors/devel/api-conventions.md#spec-and-status Spec ClusterTemplateRevisionSpec `json:"spec"` } diff --git a/apis/management.cattle.io/v3/cluster_types.go b/apis/management.cattle.io/v3/cluster_types.go index 1a6607bb..bf8d82a6 100644 --- a/apis/management.cattle.io/v3/cluster_types.go +++ b/apis/management.cattle.io/v3/cluster_types.go @@ -83,7 +83,7 @@ type Cluster struct { // Standard object’s metadata. More info: // https://github.com/kubernetes/community/blob/master/contributors/devel/api-conventions.md#metadata metav1.ObjectMeta `json:"metadata,omitempty"` - // Specification of the desired behavior of the the cluster. More info: + // Specification of the desired behavior of the cluster. More info: // https://github.com/kubernetes/community/blob/master/contributors/devel/api-conventions.md#spec-and-status Spec ClusterSpec `json:"spec"` // Most recent observed status of the cluster. More info: @@ -210,7 +210,7 @@ type ClusterRegistrationToken struct { // Standard object’s metadata. More info: // https://github.com/kubernetes/community/blob/master/contributors/devel/api-conventions.md#metadata metav1.ObjectMeta `json:"metadata,omitempty"` - // Specification of the desired behavior of the the cluster. More info: + // Specification of the desired behavior of the cluster. More info: // https://github.com/kubernetes/community/blob/master/contributors/devel/api-conventions.md#spec-and-status Spec ClusterRegistrationTokenSpec `json:"spec"` // Most recent observed status of the cluster. More info: diff --git a/apis/management.cattle.io/v3/compose_types.go b/apis/management.cattle.io/v3/compose_types.go index fd336116..0a6a37ff 100644 --- a/apis/management.cattle.io/v3/compose_types.go +++ b/apis/management.cattle.io/v3/compose_types.go @@ -11,7 +11,7 @@ type ComposeConfig struct { // Standard object’s metadata. More info: // https://github.com/kubernetes/community/blob/master/contributors/devel/api-conventions.md#metadata metav1.ObjectMeta `json:"metadata,omitempty"` - // Specification of the desired behavior of the the cluster. More info: + // Specification of the desired behavior of the cluster. More info: // https://github.com/kubernetes/community/blob/master/contributors/devel/api-conventions.md#spec-and-status Spec ComposeSpec `json:"spec,omitempty"` Status ComposeStatus `json:"status,omitempty"` diff --git a/apis/management.cattle.io/v3/kontainer_types.go b/apis/management.cattle.io/v3/kontainer_types.go index 5d1587a9..a634a327 100644 --- a/apis/management.cattle.io/v3/kontainer_types.go +++ b/apis/management.cattle.io/v3/kontainer_types.go @@ -10,7 +10,7 @@ type KontainerDriver struct { // Standard object’s metadata. More info: // https://github.com/kubernetes/community/blob/master/contributors/devel/api-conventions.md#metadata metav1.ObjectMeta `json:"metadata,omitempty"` - // Specification of the desired behavior of the the cluster. More info: + // Specification of the desired behavior of the cluster. More info: // https://github.com/kubernetes/community/blob/master/contributors/devel/api-conventions.md#spec-and-status Spec KontainerDriverSpec `json:"spec"` // Most recent observed status of the cluster. More info: diff --git a/apis/management.cattle.io/v3/logging_types.go b/apis/management.cattle.io/v3/logging_types.go index e17827e2..5a143ae9 100644 --- a/apis/management.cattle.io/v3/logging_types.go +++ b/apis/management.cattle.io/v3/logging_types.go @@ -16,7 +16,7 @@ type ClusterLogging struct { // Standard object’s metadata. More info: // https://github.com/kubernetes/community/blob/master/contributors/devel/api-conventions.md#metadata metav1.ObjectMeta `json:"metadata,omitempty"` - // Specification of the desired behavior of the the cluster. More info: + // Specification of the desired behavior of the cluster. More info: // https://github.com/kubernetes/community/blob/master/contributors/devel/api-conventions.md#spec-and-status Spec ClusterLoggingSpec `json:"spec"` // Most recent observed status of the cluster. More info: @@ -35,7 +35,7 @@ type ProjectLogging struct { // Standard object’s metadata. More info: // https://github.com/kubernetes/community/blob/master/contributors/devel/api-conventions.md#metadata metav1.ObjectMeta `json:"metadata,omitempty"` - // Specification of the desired behavior of the the cluster. More info: + // Specification of the desired behavior of the cluster. More info: // https://github.com/kubernetes/community/blob/master/contributors/devel/api-conventions.md#spec-and-status Spec ProjectLoggingSpec `json:"spec"` // Most recent observed status of the cluster. More info: diff --git a/apis/management.cattle.io/v3/machine_types.go b/apis/management.cattle.io/v3/machine_types.go index dd0fe423..76879d15 100644 --- a/apis/management.cattle.io/v3/machine_types.go +++ b/apis/management.cattle.io/v3/machine_types.go @@ -16,7 +16,7 @@ type NodeTemplate struct { // Standard object’s metadata. More info: // https://github.com/kubernetes/community/blob/master/contributors/devel/api-conventions.md#metadata metav1.ObjectMeta `json:"metadata,omitempty"` - // Specification of the desired behavior of the the cluster. More info: + // Specification of the desired behavior of the cluster. More info: // https://github.com/kubernetes/community/blob/master/contributors/devel/api-conventions.md#spec-and-status Spec NodeTemplateSpec `json:"spec"` // Most recent observed status of the cluster. More info: @@ -57,7 +57,7 @@ type Node struct { // Standard object’s metadata. More info: // https://github.com/kubernetes/community/blob/master/contributors/devel/api-conventions.md#metadata metav1.ObjectMeta `json:"metadata,omitempty"` - // Specification of the desired behavior of the the cluster. More info: + // Specification of the desired behavior of the cluster. More info: // https://github.com/kubernetes/community/blob/master/contributors/devel/api-conventions.md#spec-and-status Spec NodeSpec `json:"spec"` // Most recent observed status of the cluster. More info: @@ -256,7 +256,7 @@ type NodeDriver struct { // Standard object’s metadata. More info: // https://github.com/kubernetes/community/blob/master/contributors/devel/api-conventions.md#metadata metav1.ObjectMeta `json:"metadata,omitempty"` - // Specification of the desired behavior of the the cluster. More info: + // Specification of the desired behavior of the cluster. More info: // https://github.com/kubernetes/community/blob/master/contributors/devel/api-conventions.md#spec-and-status Spec NodeDriverSpec `json:"spec"` // Most recent observed status of the cluster. More info: diff --git a/apis/management.cattle.io/v3/multi_cluster_app.go b/apis/management.cattle.io/v3/multi_cluster_app.go index 6e9dffe7..970a6ef5 100644 --- a/apis/management.cattle.io/v3/multi_cluster_app.go +++ b/apis/management.cattle.io/v3/multi_cluster_app.go @@ -20,7 +20,7 @@ type MultiClusterApp struct { // Standard object’s metadata. More info: // https://github.com/kubernetes/community/blob/master/contributors/devel/api-conventions.md#metadata metav1.ObjectMeta `json:"metadata,omitempty"` - // Specification of the desired behavior of the the cluster. More info: + // Specification of the desired behavior of the cluster. More info: // https://github.com/kubernetes/community/blob/master/contributors/devel/api-conventions.md#spec-and-status Spec MultiClusterAppSpec `json:"spec"` diff --git a/apis/management.cattle.io/v3/schema_types.go b/apis/management.cattle.io/v3/schema_types.go index a7783d73..bbdd12e6 100644 --- a/apis/management.cattle.io/v3/schema_types.go +++ b/apis/management.cattle.io/v3/schema_types.go @@ -9,7 +9,7 @@ type DynamicSchema struct { // Standard object’s metadata. More info: // https://github.com/kubernetes/community/blob/master/contributors/devel/api-conventions.md#metadata metav1.ObjectMeta `json:"metadata,omitempty"` - // Specification of the desired behavior of the the cluster. More info: + // Specification of the desired behavior of the cluster. More info: // https://github.com/kubernetes/community/blob/master/contributors/devel/api-conventions.md#spec-and-status Spec DynamicSchemaSpec `json:"spec"` // Most recent observed status of the cluster. More info: