feat(node): try to manage scale up and scale down
This commit is contained in:
@ -19,7 +19,7 @@ getFailOverStatus() {
|
||||
primaryHost=$(echo ${primaryInfo} | awk -F ' ' '{print $1}')
|
||||
currentHost=$(hostname -f)
|
||||
if [[ "${primaryHost}" != "${currentHost}" ]]; then
|
||||
echo "I'm not the primary, failover finished"
|
||||
echo "Failover finished"
|
||||
return 0
|
||||
else
|
||||
echo "Failover in progress"
|
||||
|
Reference in New Issue
Block a user