From b5713d8b74d57da89f1f3df2ceab0698d90290f1 Mon Sep 17 00:00:00 2001 From: GunaKKIBM <92353386+GunaKKIBM@users.noreply.github.com> Date: Fri, 16 Feb 2024 12:46:18 +0530 Subject: [PATCH] Removing appended token exchange path (#29) --- pkg/config/cluster_config.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/config/cluster_config.go b/pkg/config/cluster_config.go index 3fe22d2..c13683b 100644 --- a/pkg/config/cluster_config.go +++ b/pkg/config/cluster_config.go @@ -117,9 +117,9 @@ func GetTokenExchangeURLfromStorageSecretStore(clusterInfo ClusterConfig, config var url string switch providerType { case utils.VPC: - url = config.VPC.G2TokenExchangeURL + tokenExchangePath + url = config.VPC.G2TokenExchangeURL case utils.Bluemix: - url = config.Bluemix.IamURL + tokenExchangePath + url = config.Bluemix.IamURL case utils.Softlayer: url = config.Softlayer.SoftlayerTokenExchangeURL }