Update nodemgmt-scripts.sh

This commit is contained in:
2023-05-21 20:19:15 -05:00
parent c3b6ed7f4e
commit 15d92a59aa

View File

@@ -1076,9 +1076,7 @@ DOWNLIST(){
ditem=${ditem//.down}
host=${ditem%%.*}
item=${ditem#*.}
echo "HERE: '$item'"
if [[ $ditem == *"."* ]] && [ "${NM_SERVICES[${item}]}" != "" ]; then
itemname=${NM_SERVICES[${item}]}
elif [[ $ditem == *"."* ]] && [ "${NM_DOCKERS[${item}]}" != "" ]; then