From 2ae606f4697d3562318dd0e187572639b169fb13 Mon Sep 17 00:00:00 2001 From: Fahrzin Hemmati Date: Wed, 29 Jan 2025 17:53:07 -0800 Subject: [PATCH] Fix bug in cmd_change_bios.py --- idrac_ctl/bios/cmd_change_bios.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/idrac_ctl/bios/cmd_change_bios.py b/idrac_ctl/bios/cmd_change_bios.py index 143844a..87d33d7 100644 --- a/idrac_ctl/bios/cmd_change_bios.py +++ b/idrac_ctl/bios/cmd_change_bios.py @@ -254,7 +254,7 @@ def execute(self, ) registry = cmd_result.data[IDRAC_JSON.RegistryEntries] - if IDRAC_JSON.Attributes not in cmd_result.data: + if IDRAC_JSON.Attributes not in registry: return CommandResult( { "Status": "Failed fetch attributes from bios registry"