From e4e859c798dfc9eff85de1150bff275bdfce10d4 Mon Sep 17 00:00:00 2001 From: Jarrod Johnson Date: Thu, 26 May 2022 18:07:19 -0400 Subject: [PATCH] Fix invocation of monotonic_time --- confluent_server/confluent/plugins/hardwaremanagement/ipmi.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/confluent_server/confluent/plugins/hardwaremanagement/ipmi.py b/confluent_server/confluent/plugins/hardwaremanagement/ipmi.py index 99b94021..923607cc 100644 --- a/confluent_server/confluent/plugins/hardwaremanagement/ipmi.py +++ b/confluent_server/confluent/plugins/hardwaremanagement/ipmi.py @@ -514,10 +514,10 @@ class IpmiHandler(object): raise exc.TargetEndpointUnreachable(ge.strerror) raise self.ipmicmd = persistent_ipmicmds[(node, tenant)] - giveup = util._monotonic_time() + 60 + giveup = util.monotonic_time() + 60 while not self.ipmicmd.ipmi_session.broken and not self.ipmicmd.ipmi_session.logged: self.ipmicmd.ipmi_session.wait_for_rsp(3) - if util._monotonic_time() > giveup: + if util.monotonic_time() > giveup: self.ipmicmd.ipmi_session.broken = True bootdevices = {