mirror of
https://github.com/xcat2/confluent.git
synced 2024-11-26 03:19:48 +00:00
Revert "Carry fix for null names to redfish"
This reverts commit 8bbeeafa49
.
This commit is contained in:
parent
083f5c8654
commit
c8931ae6e7
@ -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 not newinf['name']):
|
||||
if (fnmatch(newinf['name'], 'Adapter ??:??:??') or
|
||||
fnmatch(newinf['name'], 'PCIeGen? x*') or
|
||||
newinf['name'] == 'Adapter' or
|
||||
newinf['name'].startswith('slot_') or
|
||||
newinf['name'].startswith('ob_')):
|
||||
|
Loading…
Reference in New Issue
Block a user