Skip to content

Commit

Permalink
Merge pull request #294 from zowe/test/fix/v2/container-discovery
Browse files Browse the repository at this point in the history
Remove container-specific discovery url logic
  • Loading branch information
1000TurquoisePogs authored Feb 2, 2024
2 parents 175cfee + e6aa05e commit 856c480
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions defaults/serverConfig/defaults.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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/"] } };
Expand Down

0 comments on commit 856c480

Please sign in to comment.