Skip to content

Commit

Permalink
Stricter condition for using component vipa address
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 2e29b99 commit c9cc816
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion defaults/serverConfig/defaults.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ 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") {
if(components["gateway"].zowe?.network?.server?.dvipa?.vipa){
if(components["gateway"].zowe?.network?.server?.dvipa?.enabled=="true" && components["gateway"].zowe?.network?.server?.dvipa?.vipa){
return components["gateway"].zowe?.network?.server?.dvipa?.vipa
} else {
return zowe.network.server.dvipa.vipa;
Expand Down

0 comments on commit c9cc816

Please sign in to comment.