From 87ec9b9728439a174381712ba1c3c16c842c125d Mon Sep 17 00:00:00 2001 From: wangxinalex Date: Wed, 17 Mar 2021 18:58:20 +0800 Subject: [PATCH] fix: fix the typo of `UseExistingCluster` comment Fix the typo of `UseExistingCluster` field to accommodate the godoc convention. The comment of `UseExistingCluster` field should start with the element it describes. --- pkg/envtest/server.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/envtest/server.go b/pkg/envtest/server.go index 0bbf789a9d..614d861fde 100644 --- a/pkg/envtest/server.go +++ b/pkg/envtest/server.go @@ -125,7 +125,7 @@ type Environment struct { // located in the local environment. This field can be overridden by setting KUBEBUILDER_ASSETS. BinaryAssetsDirectory string - // UseExisting indicates that this environments should use an + // UseExistingCluster indicates that this environments should use an // existing kubeconfig, instead of trying to stand up a new control plane. // This is useful in cases that need aggregated API servers and the like. UseExistingCluster *bool