Skip to content

Commit

Permalink
Get correct host name when using dvipa
Browse files Browse the repository at this point in the history
Signed-off-by: Timothy Gerstel <[email protected]>
  • Loading branch information
timgerstel committed Feb 9, 2024
1 parent eab46e7 commit eac5450
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion defaults/serverConfig/defaults.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,9 @@ components:
hostname: '${{ function a() {
if (process.env.ZWE_RUN_IN_CONTAINER=="true" && process.env.ZWE_GATEWAY_HOST) {
return process.env.ZWE_GATEWAY_HOST;
} else {
} else if (zowe.network?.server?.dvipa?.enabled=="true") {
return zowe.network.server.dvipa.vipa;
} else {
return zowe.externalDomains[0] } };
a() }}'
discoveryUrls: '${{ function a() {
Expand Down

0 comments on commit eac5450

Please sign in to comment.