mirror of
https://github.com/xcat2/confluent.git
synced 2026-03-04 04:49:22 +00:00
Fix async definition of decode_alert
This commit is contained in:
@@ -700,7 +700,7 @@ class IpmiHandler:
|
||||
return await self.save_licenses()
|
||||
raise Exception('Not implemented')
|
||||
|
||||
def decode_alert(self):
|
||||
async def decode_alert(self):
|
||||
inputdata = self.inputdata.get_alert(self.node)
|
||||
specifictrap = int(inputdata['.1.3.6.1.6.3.1.1.4.1.0'].rpartition(
|
||||
'.')[-1])
|
||||
|
||||
Reference in New Issue
Block a user