Minor fix on comment message (ClusterKubeconfigContext)

This commit fixes the minor comment message on pkg/cluster/clustermap/map.go
file and not related to any issue.

Change-Id: Ie92a7c09ada8b0983631cbcd0cd82622c068fc5b
This commit is contained in:
bijayasharma 2020-11-24 15:54:43 -05:00 committed by Bijaya Sharma
parent 9774bb9728
commit 6cacf4756f
1 changed files with 1 additions and 2 deletions

View File

@ -113,8 +113,7 @@ func (cm clusterMap) ClusterNamespace(clusterName string) (string, error) {
return "default", nil
}
// ClusterNamespace a namespace for given cluster
// TODO implement how to get namespace for cluster
// ClusterKubeconfigContext returns name of the context in kubeconfig corresponding to a given cluster
func (cm clusterMap) ClusterKubeconfigContext(clusterName string) (string, error) {
cluster, exists := cm.apiMap.Map[clusterName]