From 9bb402a1b87a538d35accbb31bb5102f6f541ff2 Mon Sep 17 00:00:00 2001 From: erderial <71669104+erderial@users.noreply.github.com> Date: Mon, 3 Apr 2023 10:27:07 +0300 Subject: [PATCH] Update confluent_selfcheck --- confluent_server/bin/confluent_selfcheck | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/confluent_server/bin/confluent_selfcheck b/confluent_server/bin/confluent_selfcheck index 29b13f25..b6341b91 100755 --- a/confluent_server/bin/confluent_selfcheck +++ b/confluent_server/bin/confluent_selfcheck @@ -265,10 +265,9 @@ if __name__ == '__main__': if key.startswith('net.')and key.endswith('switch'): switch_value = rsp[key].get('value',None) if switch_value in valid_nodes: - if args.node in valid_nodes: - print(f'{args.node} is a valid node.') - else: - emprint(f'{args.node} is not a valid node') + print(f'{switch_value} is valid.') + else: + emprint(f'{switch_value} is not valid.') if not uuidok and not macok: allok = False emprint(f'{args.node} does not have a uuid or mac address defined in id.uuid or net.*hwaddr, deployment will not work')