Merge "Exit waiting loop once node has unjoined"

This commit is contained in:
Jenkins 2016-02-16 09:11:31 +00:00 committed by Gerrit Code Review
commit 3dfaf67281
1 changed files with 2 additions and 0 deletions

View File

@ -949,6 +949,8 @@ unjoin_nodes_from_cluster() {
if get_running_nodes | grep -q $(rabbit_node_name $nodename)
then
ocf_log info "${LH} the ${nodename} is alive and cannot be kicked from the cluster yet"
else
break
fi
sleep 10
done