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:
parent
2b28ef74be
commit
e58247b2c9
@ -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
|
||||
|
@ -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',
|
||||
|
Loading…
x
Reference in New Issue
Block a user