From ad92ab13f31bb642e04bd9b54b7be7d9bcfa4468 Mon Sep 17 00:00:00 2001 From: Jarrod Johnson Date: Tue, 2 Mar 2021 14:05:28 -0500 Subject: [PATCH] Correct mistake in nodediscover correction --- confluent_client/bin/nodediscover | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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):