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:
parent
9774bb9728
commit
6cacf4756f
@ -113,8 +113,7 @@ func (cm clusterMap) ClusterNamespace(clusterName string) (string, error) {
|
|||||||
return "default", nil
|
return "default", nil
|
||||||
}
|
}
|
||||||
|
|
||||||
// ClusterNamespace a namespace for given cluster
|
// ClusterKubeconfigContext returns name of the context in kubeconfig corresponding to a given cluster
|
||||||
// TODO implement how to get namespace for cluster
|
|
||||||
func (cm clusterMap) ClusterKubeconfigContext(clusterName string) (string, error) {
|
func (cm clusterMap) ClusterKubeconfigContext(clusterName string) (string, error) {
|
||||||
cluster, exists := cm.apiMap.Map[clusterName]
|
cluster, exists := cm.apiMap.Map[clusterName]
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user