mirror of
https://github.com/xcat2/confluent.git
synced 2024-11-22 09:32:21 +00:00
Correct mistake in nodediscover correction
This commit is contained in:
parent
cc16e58c3a
commit
ad92ab13f3
@ -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):
|
||||
|
Loading…
Reference in New Issue
Block a user