2
0
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:
Jarrod Johnson 2017-08-14 17:10:42 -04:00
parent 28259511ed
commit 6addd05de2

View File

@ -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)