From 7432b1479b2844bd6cf1c9007db8cf51e717030a Mon Sep 17 00:00:00 2001 From: dxinyuan Date: Mon, 21 Aug 2023 13:03:19 +0800 Subject: [PATCH] lint: fix duplicated words --- apis/v1alpha3/types.go | 2 +- apis/v1alpha3/vspherevm_types.go | 2 +- .../bases/infrastructure.cluster.x-k8s.io_vspherevms.yaml | 8 ++++---- docs/getting_started.md | 2 +- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/apis/v1alpha3/types.go b/apis/v1alpha3/types.go index 9667804f91..3ff9e5d7d5 100644 --- a/apis/v1alpha3/types.go +++ b/apis/v1alpha3/types.go @@ -342,7 +342,7 @@ type VirtualMachine struct { // Network is the status of the VM's network devices. Network []NetworkStatus `json:"network"` - // VMRef is the the VM's Managed Object Reference on vSphere. + // VMRef is the VM's Managed Object Reference on vSphere. VMRef string `json:"vmRef"` } diff --git a/apis/v1alpha3/vspherevm_types.go b/apis/v1alpha3/vspherevm_types.go index fc6933ba74..ba336eeb53 100644 --- a/apis/v1alpha3/vspherevm_types.go +++ b/apis/v1alpha3/vspherevm_types.go @@ -41,7 +41,7 @@ type VSphereVMSpec struct { // +optional BootstrapRef *corev1.ObjectReference `json:"bootstrapRef,omitempty"` - // BiosUUID is the the VM's BIOS UUID that is assigned at runtime after + // BiosUUID is the VM's BIOS UUID that is assigned at runtime after // the VM has been created. // This field is required at runtime for other controllers that read // this CRD as unstructured data. diff --git a/config/default/crd/bases/infrastructure.cluster.x-k8s.io_vspherevms.yaml b/config/default/crd/bases/infrastructure.cluster.x-k8s.io_vspherevms.yaml index 445318414e..7a7c3ef671 100644 --- a/config/default/crd/bases/infrastructure.cluster.x-k8s.io_vspherevms.yaml +++ b/config/default/crd/bases/infrastructure.cluster.x-k8s.io_vspherevms.yaml @@ -39,7 +39,7 @@ spec: description: VSphereVMSpec defines the desired state of VSphereVM. properties: biosUUID: - description: BiosUUID is the the VM's BIOS UUID that is assigned at + description: BiosUUID is the VM's BIOS UUID that is assigned at runtime after the VM has been created. This field is required at runtime for other controllers that read this CRD as unstructured data. @@ -453,7 +453,7 @@ spec: description: VSphereVMSpec defines the desired state of VSphereVM. properties: biosUUID: - description: BiosUUID is the the VM's BIOS UUID that is assigned at + description: BiosUUID is the VM's BIOS UUID that is assigned at runtime after the VM has been created. This field is required at runtime for other controllers that read this CRD as unstructured data. @@ -873,7 +873,7 @@ spec: type: integer type: array biosUUID: - description: BiosUUID is the the VM's BIOS UUID that is assigned at + description: BiosUUID is the VM's BIOS UUID that is assigned at runtime after the VM has been created. This field is required at runtime for other controllers that read this CRD as unstructured data. @@ -1463,7 +1463,7 @@ spec: not be set or modified by users. type: string vmRef: - description: VMRef is the the VM's Managed Object Reference on vSphere. + description: VMRef is the VM's Managed Object Reference on vSphere. It can be used by consumers to programatically get this VM representation on vSphere in case of the need to retrieve informations. This field is set once the machine is created and should not be changed diff --git a/docs/getting_started.md b/docs/getting_started.md index d3c92d909e..8981060adf 100644 --- a/docs/getting_started.md +++ b/docs/getting_started.md @@ -1,7 +1,7 @@ # Getting Started This is a guide on how to get started with Cluster API Provider vSphere. To learn more about cluster API in more -depth, check out the the [Cluster API book][cluster-api-book]. +depth, check out the [Cluster API book][cluster-api-book]. - [Getting Started](#getting-started) - [Install Requirements](#install-requirements)