mirror of
https://github.com/xcat2/confluent.git
synced 2024-12-25 12:41:39 +00:00
Stop firmware when 'pending', which is another 'completion'
This commit is contained in:
parent
28259511ed
commit
6addd05de2
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user