2
0
mirror of https://github.com/xcat2/confluent.git synced 2024-11-22 01:22:00 +00:00

Remove now redundent errors

printerror now searches for deeper errors,
no longer need to call it as much.
This commit is contained in:
Jarrod Johnson 2021-01-21 16:38:35 -05:00
parent 784ac5ecba
commit 22dc852277
2 changed files with 0 additions and 2 deletions

View File

@ -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']

View File

@ -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']: