Skip to content

Commit

Permalink
fix: fix the typo of UseExistingCluster comment
Browse files Browse the repository at this point in the history
fix the typo of `UseExistingCluster` field to accommodate the godoc convention
  • Loading branch information
wangxinalex committed Mar 17, 2021
1 parent 2a448a7 commit b8e02c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/envtest/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b8e02c0

Please sign in to comment.