Update nodemgmt-scripts.sh

This commit is contained in:
2024-12-06 21:00:51 -06:00
parent bd43fafbd9
commit 07fac9c732

View File

@@ -781,7 +781,7 @@ RUN_COMMAND(){
if [ "${nodetype}" == "ALL" ] || [ -z ${nodetype+x} ]; then
nodetype=ALL
NT_HOSTS=ALL_HOSTS[@]
NTS=(${NM_NODE_TYPES[*]})
NTS=(${NM_NODE_TYPES[@]})
elif [ "${nodetype}" != "" ]; then
if [ "${NM_HOSTS[${nodetype}]}" != "" ]; then
NT_HOSTS=${nodetype}_HOSTS[@]