From b9d0da0416fb2ceade5c33c75c7df44e77273dbe Mon Sep 17 00:00:00 2001 From: Jarrod Johnson Date: Wed, 26 Apr 2023 15:37:08 -0400 Subject: [PATCH] Correct mistake in the gathering of valid nodenames --- confluent_server/bin/confluent_selfcheck | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/confluent_server/bin/confluent_selfcheck b/confluent_server/bin/confluent_selfcheck index b6341b91..cb4ad541 100755 --- a/confluent_server/bin/confluent_selfcheck +++ b/confluent_server/bin/confluent_selfcheck @@ -237,7 +237,7 @@ if __name__ == '__main__': allok = True uuidok = False macok = False - valid_nodes = [node['item']['href'][:-1] for node in c.read('/nodes/')] #get all valiv nodes + valid_nodes = [node['item']['href'][:-1] for node in sess.read('/nodes/')] #get all valid nodes for rsp in sess.read(f'/nodes/{args.node}/attributes/all'): if rsp.get('errorcode', None) == 404: emprint(f'There is no node named "{args.node}"')