Skip to content

Commit

Permalink
fixed own ip log, due to #6
Browse files Browse the repository at this point in the history
  • Loading branch information
Erhan KESKEN committed Jun 8, 2016
1 parent 30d28f7 commit d83bbdb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rabbitmq-cluster.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d83bbdb

Please sign in to comment.