This commit is contained in:
parent
2a77c552bf
commit
9d94dbd6d6
2
app.py
2
app.py
@ -37,7 +37,7 @@ def main():
|
|||||||
logging.debug('Get consumer list from redis at first: Done')
|
logging.debug('Get consumer list from redis at first: Done')
|
||||||
temp_dict = { }
|
temp_dict = { }
|
||||||
|
|
||||||
hostname = socket.gethostname()
|
host_name = socket.gethostname()
|
||||||
current_ip = socket.gethostbyname(host_name)
|
current_ip = socket.gethostbyname(host_name)
|
||||||
|
|
||||||
for ip in ip_list:
|
for ip in ip_list:
|
||||||
|
Reference in New Issue
Block a user