mirror of
https://opendev.org/x/pyghmi
synced 2025-01-31 05:17:39 +00:00
Fix redfish FFDC name save with autosuffix
Use the code from the IPMI oem enhancer to be consistent. Change-Id: I81316bb65e20657e2c48cdec2dc44dc2b890f7ba
This commit is contained in:
parent
e498364577
commit
b4bc1c7245
@ -928,7 +928,7 @@ class OEMHandler(generic.OEMHandler):
|
||||
{'Generate_FFDC_status': 1})
|
||||
url = '/ffdc/{0}'.format(result['FileName'])
|
||||
if autosuffix and not savefile.endswith('.tzz'):
|
||||
savefile += '.tzz'
|
||||
savefile += '-{0}'.format(result['FileName'])
|
||||
fd = webclient.FileDownloader(self.wc, url, savefile)
|
||||
fd.start()
|
||||
while fd.isAlive():
|
||||
|
Loading…
x
Reference in New Issue
Block a user