From a20fbf0b5ad4de8038977fe5ac7e0de0cc0f64cf Mon Sep 17 00:00:00 2001 From: xichengliudui Date: Mon, 15 Oct 2018 05:44:41 -0400 Subject: [PATCH] Fix syntax error Fixing grammatical errors --- cmd/kubeadm/app/apis/kubeadm/types.go | 2 +- cmd/kubeadm/app/apis/kubeadm/v1alpha3/types.go | 2 +- cmd/kubeadm/app/apis/kubeadm/v1beta1/types.go | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/cmd/kubeadm/app/apis/kubeadm/types.go b/cmd/kubeadm/app/apis/kubeadm/types.go index d2471c67a19..04b44a33014 100644 --- a/cmd/kubeadm/app/apis/kubeadm/types.go +++ b/cmd/kubeadm/app/apis/kubeadm/types.go @@ -74,7 +74,7 @@ type ClusterConfiguration struct { // are used; in case the ControlPlaneEndpoint is specified but without a TCP port, // the BindPort is used. // Possible usages are: - // e.g. In an cluster with more than one control plane instances, this field should be + // e.g. In a cluster with more than one control plane instances, this field should be // assigned the address of the external load balancer in front of the // control plane instances. // e.g. in environments with enforced node recycling, the ControlPlaneEndpoint diff --git a/cmd/kubeadm/app/apis/kubeadm/v1alpha3/types.go b/cmd/kubeadm/app/apis/kubeadm/v1alpha3/types.go index faa08cfb976..35456f3c171 100644 --- a/cmd/kubeadm/app/apis/kubeadm/v1alpha3/types.go +++ b/cmd/kubeadm/app/apis/kubeadm/v1alpha3/types.go @@ -70,7 +70,7 @@ type ClusterConfiguration struct { // are used; in case the ControlPlaneEndpoint is specified but without a TCP port, // the BindPort is used. // Possible usages are: - // e.g. In an cluster with more than one control plane instances, this field should be + // e.g. In a cluster with more than one control plane instances, this field should be // assigned the address of the external load balancer in front of the // control plane instances. // e.g. in environments with enforced node recycling, the ControlPlaneEndpoint diff --git a/cmd/kubeadm/app/apis/kubeadm/v1beta1/types.go b/cmd/kubeadm/app/apis/kubeadm/v1beta1/types.go index 11336648121..b4ae007f4dc 100644 --- a/cmd/kubeadm/app/apis/kubeadm/v1beta1/types.go +++ b/cmd/kubeadm/app/apis/kubeadm/v1beta1/types.go @@ -35,7 +35,7 @@ type InitConfiguration struct { ClusterConfiguration `json:"-"` // `kubeadm init`-only information. These fields are solely used the first time `kubeadm init` runs. - // After that, the information in the fields ARE NOT uploaded to the `kubeadm-config` ConfigMap + // After that, the information in the fields IS NOT uploaded to the `kubeadm-config` ConfigMap // that is used by `kubeadm upgrade` for instance. These fields must be omitempty. // BootstrapTokens is respected at `kubeadm init` time and describes a set of Bootstrap Tokens to create. @@ -70,7 +70,7 @@ type ClusterConfiguration struct { // are used; in case the ControlPlaneEndpoint is specified but without a TCP port, // the BindPort is used. // Possible usages are: - // e.g. In an cluster with more than one control plane instances, this field should be + // e.g. In a cluster with more than one control plane instances, this field should be // assigned the address of the external load balancer in front of the // control plane instances. // e.g. in environments with enforced node recycling, the ControlPlaneEndpoint