From 668b5c9939f6b04fe74c6d18d4289cc6ffabcc00 Mon Sep 17 00:00:00 2001 From: "Joshua M. Boniface" Date: Thu, 7 Jul 2022 17:11:00 +0000 Subject: [PATCH] Fix bug with mgr attributes --- bootstrap-daemon/pvcbootstrapd/lib/redfish.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bootstrap-daemon/pvcbootstrapd/lib/redfish.py b/bootstrap-daemon/pvcbootstrapd/lib/redfish.py index 3696114..1ab026d 100755 --- a/bootstrap-daemon/pvcbootstrapd/lib/redfish.py +++ b/bootstrap-daemon/pvcbootstrapd/lib/redfish.py @@ -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}}