removed no longer necessary workaround in resolveAuthProxyUrl()

Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com>
This commit is contained in:
Jim Ehrismann committed 2022-07-13 18:41:05 -04:00
1 parent d66e6c23c5
commit eb466e9d1c
1 file changed
+1 -2
+1 -2
View File
@@ -131,9 +131,8 @@ export class ContextHandler implements ClusterContextHandler {
async resolveAuthProxyUrl(): Promise<string> {
const kubeAuthProxy = await this.ensureServerHelper();
const path = this.clusterUrl.path !== "/" ? this.clusterUrl.path : "";
return `https://127.0.0.1:${kubeAuthProxy.port}${kubeAuthProxy.apiPrefix}${path}`;
return `https://127.0.0.1:${kubeAuthProxy.port}${kubeAuthProxy.apiPrefix}`;
}
resolveAuthProxyCa() {