From e6aa05e8dd2544e5e9d621d11561c3e29c9fff45 Mon Sep 17 00:00:00 2001 From: 1000TurquoisePogs Date: Thu, 1 Feb 2024 08:49:19 -0500 Subject: [PATCH] Update defaults.yaml Signed-off-by: 1000TurquoisePogs --- defaults/serverConfig/defaults.yaml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/defaults/serverConfig/defaults.yaml b/defaults/serverConfig/defaults.yaml index 53969ee..f42454d 100644 --- a/defaults/serverConfig/defaults.yaml +++ b/defaults/serverConfig/defaults.yaml @@ -110,9 +110,7 @@ components: return zowe.externalDomains[0] } }; a() }}' discoveryUrls: '${{ function a() { - if (process.env.ZWE_RUN_IN_CONTAINER=="true" && process.env.ZWE_GATEWAY_HOST) { - return ["https://"+process.env.ZWE_GATEWAY_HOST+":"+components.discovery.port+"/eureka/"]; - } else if (process.env.ZWE_DISCOVERY_SERVICES_LIST) { + if (process.env.ZWE_DISCOVERY_SERVICES_LIST) { return process.env.ZWE_DISCOVERY_SERVICES_LIST.split(","); } else { return ["https://"+zowe.externalDomains[0]+":"+components.discovery.port+"/eureka/"] } };