mirror of
https://opendev.org/x/pyghmi
synced 2026-04-11 04:21:28 +00:00
Fix redfish firmware update without progress
The caller opting not to have a callback is no longer a problem for redfish updates. Change-Id: I10378bb1d0491e1f446569eb443fa3023b4d2af4
This commit is contained in:
@@ -1573,6 +1573,8 @@ class Command(object):
|
||||
update process. Provide if
|
||||
:param bank: Indicate a target 'bank' of firmware if supported
|
||||
"""
|
||||
if progress is None:
|
||||
progress = lambda x: True
|
||||
return self.oem.update_firmware(file, data, progress, bank)
|
||||
|
||||
def get_diagnostic_data(self, savefile, progress=None, autosuffix=False):
|
||||
|
||||
Reference in New Issue
Block a user