From 22dc8522773a1f818f3cc7c3b3f0d694724f5f3f Mon Sep 17 00:00:00 2001 From: Jarrod Johnson Date: Thu, 21 Jan 2021 16:38:35 -0500 Subject: [PATCH] Remove now redundent errors printerror now searches for deeper errors, no longer need to call it as much. --- confluent_client/bin/nodeconfig | 1 - confluent_client/bin/nodefirmware | 1 - 2 files changed, 2 deletions(-) diff --git a/confluent_client/bin/nodeconfig b/confluent_client/bin/nodeconfig index 307c3d10..80732644 100755 --- a/confluent_client/bin/nodeconfig +++ b/confluent_client/bin/nodeconfig @@ -278,7 +278,6 @@ if setmode: rcode |= client.printerror(fr) for node in fr.get('databynode', []): r = fr['databynode'][node] - rcode |= client.printerror(r, node) if 'value' not in r: continue keyval = r['value'] diff --git a/confluent_client/bin/nodefirmware b/confluent_client/bin/nodefirmware index b7c05b15..20adb380 100755 --- a/confluent_client/bin/nodefirmware +++ b/confluent_client/bin/nodefirmware @@ -149,7 +149,6 @@ def show_firmware(session): if 'databynode' not in res: continue for node in res['databynode']: - exitcode |= client.printerror(res['databynode'][node], node) if 'firmware' not in res['databynode'][node]: continue for inv in res['databynode'][node]['firmware']: