Update defaults.inc

This commit is contained in:
2025-04-26 08:23:10 -05:00
parent 2b7c539d95
commit a217fae292

View File

@@ -131,7 +131,7 @@ if [ "${RNIP}" == "${NM_NODEMANAGER}" ]; then
RUN_NODE_IP=${RNIP}
else
for NTYPE in "${NM_NODE_TYPES[@]}"; do
if [ "${1}" != "service" ] || ([ "${1}" == "service" ] && [[ "${NM_SERVICES_CHECK[${NTYPE}]}" = *"${2}"* ]]); then
if [ "${1}" != "service" ] || ([ "${1}" == "service" ] && ([[ "${NM_SERVICES_CHECK[${NTYPE}]}" = *"${2}"* ]] || [ "${NTYPE}" == "${2^^}" ])); then
var=${NTYPE}_HOSTS[@]
RUN_NODE_TYPE=""
for nip in "${!var}"; do