Commit f7f335fc authored by Nacho's avatar Nacho
Browse files

Corrige secuencia de if en definición del rol

parent 88ff1266
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -37,7 +37,7 @@ export BROKER_URL="failover\:(${NODE_IPS})?jms.useAsyncSend\=true"
if [ ${ROLE} == "master-slave" ]; then
	export SLAVE_ACTIVE="true"
	export MASTER_ACTIVE="true"
else if [ ${ROLE} == "master" ]; then
elif [ ${ROLE} == "master" ]; then
	export SLAVE_ACTIVE="false"
	export MASTER_ACTIVE="true"
else