2
0
mirror of https://github.com/xcat2/confluent.git synced 2024-12-23 19:52:10 +00:00

Correct mistake in nodediscover correction

This commit is contained in:
Jarrod Johnson 2021-03-02 14:05:28 -05:00
parent cc16e58c3a
commit ad92ab13f3

View File

@ -266,7 +266,7 @@ def list_matching_macs(options, session, node=None, checknode=True):
ret = []
for x in session.read(path):
if 'item' in x and 'href' in x['item']:
ret.append(x['item', 'href'])
ret.append(x['item']['href'])
return ret
def assign_discovery(options, session, needid=True):