2
0
mirror of https://github.com/xcat2/confluent.git synced 2025-01-11 18:28:11 +00:00

Fix for SMMv3 onboarding

This commit is contained in:
Jarrod Johnson 2024-12-13 16:15:23 -05:00
parent ddd97388a6
commit 8e0bc43008

View File

@ -109,7 +109,7 @@ class NodeHandler(generic.NodeHandler):
self.target_account_url(wc))
acctinfo = acctinfo[0]
actypes = acctinfo['AccountTypes']
candidates = acctinfo['AccountTypes@Redfish.AllowableValues']
candidates = acctinfo.get('AccountTypes@Redfish.AllowableValues', [])
if 'IPMI' not in actypes and 'IPMI' in candidates:
actypes.append('IPMI')
acctupd = {