From 7bdaa10dee87f5fb59f38b0cbe66697684e662e4 Mon Sep 17 00:00:00 2001 From: 1000TurquoisePogs Date: Fri, 27 Oct 2023 08:06:31 -0400 Subject: [PATCH] Update default to account for possibly missing objects Signed-off-by: 1000TurquoisePogs --- defaults/serverConfig/defaults.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/defaults/serverConfig/defaults.yaml b/defaults/serverConfig/defaults.yaml index 397950d..029cb10 100644 --- a/defaults/serverConfig/defaults.yaml +++ b/defaults/serverConfig/defaults.yaml @@ -67,7 +67,7 @@ components: } else { return ["../defaults/serverConfig/apiml-localca.cer"]; } }; a() }}' maxTls: '${{ function a(){ - if (components["app-server"].zowe?.network?.server.maxTls) { + if (components["app-server"].zowe?.network?.server?.maxTls) { return components["app-server"].zowe.network.server.maxTls; } else if (zowe.network?.server?.maxTls) { return zowe.network.server.maxTls; @@ -75,7 +75,7 @@ components: return "TLSv1.3"; a() }}' minTls: '${{ function a(){ - if (components["app-server"].zowe?.network?.server.minTls) { + if (components["app-server"].zowe?.network?.server?.minTls) { return components["app-server"].zowe.network.server.minTls; } else if (zowe.network?.server?.minTls) { return zowe.network.server.minTls;