Verify is is_slave inside loop.
Verify is is_slave inside loop.

We do that because sometimes the failover command lock and we need
kill that and run manually. When we did that occurs 2 failovers.
To avoid that we add verification inside the loop

globocom/database-as-a-service,globocom/database-as-a-service,globocom/database-as-a-service,globocom/database-as-a-service