mirror of
https://opendev.org/x/pyghmi
synced 2025-01-27 19:37:44 +00:00
Fix cache interop between firmware and hardware
The inventory had diverged between firmware and hardware, for now just give each a dedicated name. Change-Id: I8f755a0f9ed21369a1c05e7e3139ab43c645a01f
This commit is contained in:
parent
3ed62e5bd4
commit
c1a20db6d8
@ -438,7 +438,7 @@ class IMMClient(object):
|
||||
return []
|
||||
|
||||
def fetch_agentless_firmware(self):
|
||||
cd = self.get_cached_data('lenovo_cached_adapters')
|
||||
cd = self.get_cached_data('lenovo_cached_adapters_fu')
|
||||
if cd:
|
||||
adapterdata, fwu = cd
|
||||
else:
|
||||
@ -456,7 +456,7 @@ class IMMClient(object):
|
||||
else:
|
||||
fwu = None
|
||||
if adapterdata:
|
||||
self.datacache['lenovo_cached_adapters'] = (
|
||||
self.datacache['lenovo_cached_adapters_fu'] = (
|
||||
(adapterdata, fwu), util._monotonic_time())
|
||||
if adapterdata and 'items' in adapterdata:
|
||||
anames = {}
|
||||
|
Loading…
x
Reference in New Issue
Block a user