Update nodemgmt-scripts.sh

This commit is contained in:
2024-12-06 21:02:16 -06:00
parent 07fac9c732
commit fd648c53b8

View File

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