From 6addd05de2b33be88556bb4f654830a039340e4a Mon Sep 17 00:00:00 2001 From: Jarrod Johnson Date: Mon, 14 Aug 2017 17:10:42 -0400 Subject: [PATCH] Stop firmware when 'pending', which is another 'completion' --- confluent_client/bin/nodefirmware | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/confluent_client/bin/nodefirmware b/confluent_client/bin/nodefirmware index c5bccdd6..243f3271 100755 --- a/confluent_client/bin/nodefirmware +++ b/confluent_client/bin/nodefirmware @@ -110,7 +110,7 @@ def update_firmware(session, filename): if status == 'error': exitcode = 1 noderrs[node] = err - if status in ('error', 'complete'): + if status in ('error', 'complete', 'pending'): list(session.delete(nodeurls[node])) del nodeurls[node] output.set_output(node, progress)