From 6cacf4756f753e229f98050ef59dc10f262f2b6d Mon Sep 17 00:00:00 2001 From: bijayasharma Date: Tue, 24 Nov 2020 15:54:43 -0500 Subject: [PATCH] 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 --- pkg/cluster/clustermap/map.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/pkg/cluster/clustermap/map.go b/pkg/cluster/clustermap/map.go index f2b135e6c..6f6bf560a 100644 --- a/pkg/cluster/clustermap/map.go +++ b/pkg/cluster/clustermap/map.go @@ -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]