2
0
mirror of https://github.com/xcat2/confluent.git synced 2025-02-15 18:19:52 +00:00

If node was found by key lookup, skip the sysdisco attempt

This commit is contained in:
Jarrod Johnson 2022-11-14 15:26:52 -05:00
parent 03e632b630
commit cee3943e4d

View File

@ -977,6 +977,8 @@ def get_nodename(cfg, handler, info):
if 'forwarder_server' in info:
# this has been registered by a remote discovery registry,
# thus verification and specific location is fixed
if nodename:
return nodename, None
return get_nodename_sysdisco(cfg, handler, info), None
if not nodename:
# Ok, see if it is something with a chassis-uuid and discover by