2
0
mirror of https://github.com/xcat2/confluent.git synced 2025-01-12 18:59:06 +00:00

Correct incorrect bank parameter on nodefirmware -b

The bank should have been 'backup', not 'bank' which makes no sense.
This commit is contained in:
Jarrod Johnson 2017-09-22 09:06:42 -04:00
parent aa6857b1c7
commit b631699656

View File

@ -102,7 +102,7 @@ def update_firmware(session, filename):
noderange)
upargs = {'filename': filename}
if options.backup:
upargs['bank'] = 'bank'
upargs['bank'] = 'backup'
for res in session.create(resource, upargs):
watchurl = res['created']
currnode = watchurl.split('/')[1]