Skip to content

Commit 87ec9b9

Browse files
committed
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.
1 parent 2a448a7 commit 87ec9b9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/envtest/server.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ type Environment struct {
125125
// located in the local environment. This field can be overridden by setting KUBEBUILDER_ASSETS.
126126
BinaryAssetsDirectory string
127127

128-
// UseExisting indicates that this environments should use an
128+
// UseExistingCluster indicates that this environments should use an
129129
// existing kubeconfig, instead of trying to stand up a new control plane.
130130
// This is useful in cases that need aggregated API servers and the like.
131131
UseExistingCluster *bool

0 commit comments

Comments
 (0)