From edc032323c22b918a2fa423309aca459c1aaadc7 Mon Sep 17 00:00:00 2001 From: Jarrod Johnson Date: Tue, 27 Jan 2026 11:48:54 -0500 Subject: [PATCH] Adapt for alternate type presented in devicedescription Change-Id: I027bfa8509f96acc07febef89a7c6e7edcbd92fc --- pyghmi/redfish/oem/lenovo/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyghmi/redfish/oem/lenovo/main.py b/pyghmi/redfish/oem/lenovo/main.py index 7ab1281e..faaae495 100644 --- a/pyghmi/redfish/oem/lenovo/main.py +++ b/pyghmi/redfish/oem/lenovo/main.py @@ -56,7 +56,7 @@ def get_handler(sysinfo, sysurl, webclient, cache, cmd, rootinfo={}): try: devdesc = webclient.grab_json_response_with_status('/DeviceDescription.json') if devdesc[1] == 200: - if devdesc[0]['type'].lower() == 'lenovo-smm3': + if devdesc[0]['type'].lower() in ('lenovo-smm3', 'smm3'): return smm3.OEMHandler(sysinfo, sysurl, webclient, cache, gpool=cmd._gpool) except Exception: pass