2
0
mirror of https://github.com/xcat2/confluent.git synced 2025-01-09 13:05:49 +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:
Jarrod Johnson 2023-01-30 12:40:40 -05:00
parent 627bc9ffe3
commit 2b01d9fbfa

View File

@ -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:'):