diff --git a/confluent_client/bin/nodediscover b/confluent_client/bin/nodediscover index 947ca914..250432c4 100755 --- a/confluent_client/bin/nodediscover +++ b/confluent_client/bin/nodediscover @@ -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):