This commit is contained in:
2023-12-05 23:11:36 -06:00
parent 08212ce67f
commit fdbf2f3eff
5 changed files with 4 additions and 37 deletions

View File

@@ -332,7 +332,6 @@ SERVICE_MGMT(){
var1=${NTYPE}_SERVICES_CHECK[@]
# if [[ "${!var1}" = *"${SERVICE['service']}"* ]]; then
if [[ " ${!var1} " =~ " ${SERVICE['service']} " ]]; then
nid=1
if [ "${SERVICE['node']}" != "" ]; then
var2=(${SERVICE['node']})
sethost=true;
@@ -415,7 +414,6 @@ SERVICE_MGMT(){
fi
fi
# fi
nid=`expr $nid + 1`
# if [ "${SERVICE['service']}" = "gitea" ]; then
# break
# fi
@@ -465,7 +463,6 @@ CHECK_DOCKER_SERVICES(){
echo -e "${idsCL[Yellow]} ${NM_NODETYPES[$NTYPE]}-Node Docker Service(s) Status${idsCL[Default]}"
DIVIDER; echo -e "${idsST[Reset]}"
fi
nid=1
for nip in "${!hosts}"; do
if [[ ${RUN_NODE_IP} == *"${nip}"* ]]; then NCMD=''; LH='- localhost'
@@ -535,7 +532,6 @@ CHECK_DOCKER_SERVICES(){
fi
fi
if [ "${ST_ACTION}" != "check" ]; then echo; fi
nid=`expr $nid + 1`
done
fi
done