diff --git a/modules/redfish.py b/modules/redfish.py index dd84115..48cbf23 100644 --- a/modules/redfish.py +++ b/modules/redfish.py @@ -208,6 +208,7 @@ def _get_fabric_fw_version(password: str, host: str, iom: str) -> str: ) if ok_flag and isinstance(data, dict): version = (data.get("Oem", {}) + .get("VikingEnterpriseSolutions", {}) .get("Version", {}) .get("ActiveFirmwareVersion")) return version or "Unknown" diff --git a/modules/workflow_check.py b/modules/workflow_check.py index ccb95d3..b407f6a 100644 --- a/modules/workflow_check.py +++ b/modules/workflow_check.py @@ -151,6 +151,7 @@ def _check_via_serial(): ) fab_ver = ( (fab_data.get("Oem", {}) + .get("VikingEnterpriseSolutions", {}) .get("Version", {}) .get("ActiveFirmwareVersion", "Unknown")) if (fab_ok and isinstance(fab_data, dict))