mirror of
https://github.com/xcat2/confluent.git
synced 2025-01-09 04:56:12 +00:00
Properly store all candidate host ip addresses
This is needed to ensure that mis-detected primary ip falls through to another viable ip
This commit is contained in:
parent
627bc9ffe3
commit
2b01d9fbfa
@ -253,6 +253,7 @@ class HTTPSClient(client.HTTPConnection, object):
|
||||
self.stdheaders['CONFLUENT_NODENAME'] = node
|
||||
if line.startswith('MANAGER:') and not host:
|
||||
host = line.split(' ')[1]
|
||||
self.hosts.append(host)
|
||||
if not plainhost:
|
||||
plainhost = host
|
||||
if line.startswith('EXTMGRINFO:'):
|
||||
|
Loading…
Reference in New Issue
Block a user