From d83bbdbb9f3213f726f492dfb387f1768b5c0346 Mon Sep 17 00:00:00 2001 From: Erhan KESKEN Date: Wed, 8 Jun 2016 18:22:20 +0300 Subject: [PATCH] fixed own ip log, due to #6 --- rabbitmq-cluster.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rabbitmq-cluster.py b/rabbitmq-cluster.py index 499841f..03ff4ed 100644 --- a/rabbitmq-cluster.py +++ b/rabbitmq-cluster.py @@ -46,8 +46,8 @@ def get_node_ips(): LOGGER.info('Found started task %s at %s', task['id'], node_ip) if task['id'] == MESOS_TASK_ID: - LOGGER.info('My own ip/hostname is %s', my_ip) my_ip = node_ip + LOGGER.info('My own ip/hostname is %s', my_ip) else: other_ips.append(node_ip) return my_ip, other_ips