From c3b6ed7f4e296da901f6b1f5cff1bfed3bb05d33 Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Sun, 21 May 2023 20:19:03 -0500 Subject: [PATCH] Update nodemgmt-scripts.sh --- nodemgmt-scripts.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nodemgmt-scripts.sh b/nodemgmt-scripts.sh index 61178a14..27494db1 100755 --- a/nodemgmt-scripts.sh +++ b/nodemgmt-scripts.sh @@ -1080,9 +1080,9 @@ DOWNLIST(){ echo "HERE: '$item'" if [[ $ditem == *"."* ]] && [ "${NM_SERVICES[${item}]}" != "" ]; then - itemname=${NM_SERVICES[${ditem#*-}]} + itemname=${NM_SERVICES[${item}]} elif [[ $ditem == *"."* ]] && [ "${NM_DOCKERS[${item}]}" != "" ]; then - itemname="${NM_DOCKERS[${ditem#*-}]} (docker)" + itemname="${NM_DOCKERS[${item}]} (docker)" elif [[ $ditem == *"."* ]] && [ "${REPL_DESC[${item}]}" != "" ]; then itemname="${REPL_DESC[${item}]} (replication)" else