Skip to content
This repository has been archived by the owner on Oct 10, 2023. It is now read-only.

Commit

Permalink
Update capabilities.go
Browse files Browse the repository at this point in the history
  • Loading branch information
abhijit-dev82 committed Jul 27, 2022
1 parent 7c94f31 commit 7f5b9b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/v1/sdk/capabilities/discovery/tkg/capabilities.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ func (dc *DiscoveryClient) IsTKGm(ctx context.Context) (bool, error) {
return dc.HasInfrastructureProvider(ctx, InfrastructureProviderVsphere)
}

// IsTKGS returns true if the cluster is a TKGS cluster. Check for TKGS on any TKC API version */
// IsTKGS returns true if the cluster is a TKGS cluster. Checks for the existence of any TKC API version */
func (dc *DiscoveryClient) IsTKGS(ctx context.Context) (bool, error) {
query := discovery.Group("tkc", runv1alpha1.GroupVersion.Group).
WithResource("tanzukubernetesclusters")
Expand Down

0 comments on commit 7f5b9b2

Please # to comment.