2
0
mirror of https://opendev.org/x/pyghmi synced 2025-01-28 11:57:34 +00:00

Correct probles in the servicedata attempt

When testing in actual environment, problems were detected.

Change-Id: I07fdd296c05a4e76a4c00f6a8a3ac1f70f218ff1
This commit is contained in:
Jarrod Johnson 2018-08-23 16:12:45 -04:00
parent 2b28ef74be
commit e58247b2c9
2 changed files with 2 additions and 2 deletions

View File

@ -433,7 +433,7 @@ class Command(object):
def get_diagnostic_data(self, savefile, progress=None):
self.oem_init()
return self._oem.get_diagnostic_data(savefile)
return self._oem.get_diagnostic_data(savefile, progress)
def get_description(self):
"""Get physical attributes for the system, e.g. for GUI use

View File

@ -748,7 +748,7 @@ class XCCClient(IMMClient):
{'Generate_FFDC_status': 1})
self._refresh_token()
if progress:
progress({'phase': 'generate', 'progress': float(percent)})
progress({'phase': 'initializing', 'progress': float(percent)})
percent = result['progress']
while 'FileName' not in result:
result = self.wc.grab_json_response('/api/providers/ffdc',