Fix bug with mgr attributes

This commit is contained in:
Joshua Boniface 2022-07-07 17:11:00 +00:00
parent fe3d79b5f1
commit 668b5c9939
1 changed files with 1 additions and 1 deletions

View File

@ -866,7 +866,7 @@ def redfish_init(config, cspec, data):
mgrattribute_detail = session.get(mgrattribute_root)
mgrattribute_attributes = list(mgrattribute_detail["Attributes"].keys())
for setting, value in cspec_node["bmc"].get("manager_settings", {}).items():
if setting not in bios_attributes:
if setting not in mgrattribute_attributes:
continue
payload = {"Attributes": {setting: value}}