Update status.inc
This commit is contained in:
@@ -14,6 +14,7 @@ STATUS(){
|
|||||||
for NTYPE in "${NM_NODE_TYPES[@]}"; do
|
for NTYPE in "${NM_NODE_TYPES[@]}"; do
|
||||||
if [ "${ST_ACTION^^}" == "${NTYPE}" ]; then
|
if [ "${ST_ACTION^^}" == "${NTYPE}" ]; then
|
||||||
ntypesel=${NTYPE}
|
ntypesel=${NTYPE}
|
||||||
|
ST_ACTION=""
|
||||||
break
|
break
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
@@ -481,7 +482,7 @@ STATUS(){
|
|||||||
## REPLICATION CHECK
|
## REPLICATION CHECK
|
||||||
########################
|
########################
|
||||||
|
|
||||||
if [ "${ST_ACTION}" == "report" ] || [ "${ST_ACTION}" == "repl" ] || [ "${ST_ACTION}" == "check" ] || [ "${ST_ACTION}" == "xx" ]; then
|
if [ "${ST_ACTION}" == "report" ] || [ "${ST_ACTION}" == "repl" ] || [ "${ST_ACTION}" == "check" ] || [ "${ST_ACTION}" == "" ]; then
|
||||||
if [ "${ST_ACTION}" != "check" ]; then
|
if [ "${ST_ACTION}" != "check" ]; then
|
||||||
echo -e "${idsST[Bold]}"; DIVIDER
|
echo -e "${idsST[Bold]}"; DIVIDER
|
||||||
echo -e "${idsCL[Yellow]} Replication Status Between the Primary and Secondary Nodes${idsCL[Default]}"
|
echo -e "${idsCL[Yellow]} Replication Status Between the Primary and Secondary Nodes${idsCL[Default]}"
|
||||||
|
|||||||
Reference in New Issue
Block a user