fixes typo - s/(Spec.)m(asterPublicName)/$1M$2/

pull-kops-e2e-kubernetes-aws — Job failed. [Details](https://prow.k8s.io/view/gcs/kubernetes-jenkins/pr-logs/pull/kops/7160/pull-kops-e2e-kubernetes-aws/1141685394924900352/)
```
I0620 12:37:27.976] /root/.cache/bazel/_bazel_prow/ae5d1f01453377487c630b230ced7d61/sandbox/linux-sandbox/836/execroot/__main__/pkg/commands/set_cluster.go:97:16: cluster.Spec.masterPublicName undefined (type "k8s.io/kops/pkg/apis/kops".ClusterSpec has no field or method masterPublicName, but does have MasterPublicName)
```

fixes typo
This commit is contained in:
Camilo Santana 2019-06-20 13:43:46 -07:00 committed by GitHub
parent 1bff3f1841
commit 78d16f2467
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -94,7 +94,7 @@ func SetClusterFields(fields []string, cluster *api.Cluster, instanceGroups []*a
case "spec.kubernetesVersion":
cluster.Spec.KubernetesVersion = kv[1]
case "spec.masterPublicName":
cluster.Spec.masterPublicName = kv[1]
cluster.Spec.MasterPublicName = kv[1]
case "cluster.spec.etcdClusters[*].enableEtcdTLS":
v, err := strconv.ParseBool(kv[1])
if err != nil {