mirror of
https://github.com/xcat2/confluent.git
synced 2024-11-26 11:30:23 +00:00
Carry fix for null names to redfish
This commit is contained in:
parent
422f210f74
commit
8bbeeafa49
@ -830,8 +830,8 @@ class IpmiHandler(object):
|
||||
if newinf.get('information', None) and 'name' in newinf['information']:
|
||||
newinf = copy.deepcopy(newinf)
|
||||
del newinf['information']['name']
|
||||
if (fnmatch(newinf['name'], 'Adapter ??:??:??') or
|
||||
fnmatch(newinf['name'], 'PCIeGen? x*') or
|
||||
if (fnmatch(newinf['name'], 'Adapter ??:??:??') or fnmatch(
|
||||
newinf['name'], 'PCIeGen? x*') or not newinf['name']):
|
||||
newinf['name'] == 'Adapter' or
|
||||
newinf['name'].startswith('slot_') or
|
||||
newinf['name'].startswith('ob_')):
|
||||
|
Loading…
Reference in New Issue
Block a user