From c9cc81629b6fb59666f25b09f47236710b4a2d47 Mon Sep 17 00:00:00 2001 From: Timothy Gerstel Date: Mon, 12 Feb 2024 16:13:04 -0500 Subject: [PATCH] Stricter condition for using component vipa address Signed-off-by: Timothy Gerstel --- defaults/serverConfig/defaults.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/defaults/serverConfig/defaults.yaml b/defaults/serverConfig/defaults.yaml index 5f75f5d..8dc19b5 100644 --- a/defaults/serverConfig/defaults.yaml +++ b/defaults/serverConfig/defaults.yaml @@ -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;