From 44d2534b4b9114428c0b0f21b5e1b4606efb8598 Mon Sep 17 00:00:00 2001 From: Markus Hilger Date: Mon, 13 Jul 2026 17:15:45 +0200 Subject: [PATCH] Revert changes flagged by review Restore pre-PR behavior for three changes flagged by @jjohnson42. Bigger changes are needed for these. Will be done in a separate PR. --- confluent_server/aiohmi/ipmi/oem/lenovo/handler.py | 2 +- confluent_server/aiohmi/ipmi/oem/lenovo/nextscale.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/confluent_server/aiohmi/ipmi/oem/lenovo/handler.py b/confluent_server/aiohmi/ipmi/oem/lenovo/handler.py index 40fc0380..d8833ed4 100755 --- a/confluent_server/aiohmi/ipmi/oem/lenovo/handler.py +++ b/confluent_server/aiohmi/ipmi/oem/lenovo/handler.py @@ -347,7 +347,7 @@ class OEMHandler(generic.OEMHandler): ntpres = await self.ipmicmd.raw_command(netfn=0x32, command=0xa7) return ntpres['data'][0] == '\x01' elif await self.is_fpc(): - return self.smmhandler.get_ntp_enabled(self._fpc_variant) + return await self.smmhandler.get_ntp_enabled(self._fpc_variant) elif self.has_tsma: return await self.tsmahandler.get_ntp_enabled() return None diff --git a/confluent_server/aiohmi/ipmi/oem/lenovo/nextscale.py b/confluent_server/aiohmi/ipmi/oem/lenovo/nextscale.py index 53fe238e..9fa64fc7 100644 --- a/confluent_server/aiohmi/ipmi/oem/lenovo/nextscale.py +++ b/confluent_server/aiohmi/ipmi/oem/lenovo/nextscale.py @@ -1115,5 +1115,5 @@ class SMMClient(object): async def wc(self): if (not self._wc or self._wc.broken or self._wc.vintage < util._monotonic_time() + 30): - self._wc = self.get_webclient() + self._wc = await self.get_webclient() return self._wc