2
0
mirror of https://github.com/xcat2/confluent.git synced 2026-09-21 16:39:32 +00:00

Correct the variable name for errmsg

This commit is contained in:
Jarrod Johnson
2026-08-14 10:42:18 -04:00
parent cf87fd2127
commit 357d205ee9
@@ -710,8 +710,8 @@ class IpmiHandler:
v6gw = config.get('static_v6_gateway', None)
await self.ipmicmd.set_net6_configuration(static_addresses=v6addrs, static_gateway=v6gw)
except socket.error as se:
msg = se.strerror if hasattr(se, 'strerror') else str(se)
await self.output.put(msg.ConfluentNodeError(self.node, msg))
errmsg = se.strerror if hasattr(se, 'strerror') else str(se)
await self.output.put(msg.ConfluentNodeError(self.node, errmsg))
except ValueError as e:
if e.message == 'negative shift count':
await self.output.put(msg.ConfluentNodeError(