Skip to content

Commit

Permalink
If gateway has its own DVIPA, prefer that
Browse files Browse the repository at this point in the history
Signed-off-by: Timothy Gerstel <[email protected]>
  • Loading branch information
timgerstel committed Feb 12, 2024
1 parent eac5450 commit 2e29b99
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion defaults/serverConfig/defaults.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,11 @@ components:
if (process.env.ZWE_RUN_IN_CONTAINER=="true" && process.env.ZWE_GATEWAY_HOST) {
return process.env.ZWE_GATEWAY_HOST;
} else if (zowe.network?.server?.dvipa?.enabled=="true") {
return zowe.network.server.dvipa.vipa;
if(components["gateway"].zowe?.network?.server?.dvipa?.vipa){
return components["gateway"].zowe?.network?.server?.dvipa?.vipa
} else {
return zowe.network.server.dvipa.vipa;
}
} else {
return zowe.externalDomains[0] } };
a() }}'
Expand Down

0 comments on commit 2e29b99

Please sign in to comment.