2
0
mirror of https://github.com/xcat2/confluent.git synced 2024-11-22 17:43:14 +00:00

Revised fix for redfish name missing case

This commit is contained in:
Jarrod Johnson 2019-06-28 16:02:19 -04:00
parent c8931ae6e7
commit 65b4cbe8cc

View File

@ -832,6 +832,7 @@ class IpmiHandler(object):
del newinf['information']['name']
if (fnmatch(newinf['name'], 'Adapter ??:??:??') or
fnmatch(newinf['name'], 'PCIeGen? x*') or
not newinf['name'] or
newinf['name'] == 'Adapter' or
newinf['name'].startswith('slot_') or
newinf['name'].startswith('ob_')):