fix
This commit is contained in:
parent
f8f5d55391
commit
88433c4c94
|
@ -75,7 +75,9 @@ async def net_send_message(
|
|||
if result and result["status"] == 200:
|
||||
await set_value(f"scom:net:{message.alert_source}", result["msg_id"])
|
||||
else:
|
||||
text = f"✅{message.alert_source}\nAlert: {message.alert_name}\nState: {message.alert_resolution_state}\nDescription: {message.alert_description}"
|
||||
text = (
|
||||
f"✅{message.alert_resolution_state} {message.alert_source} is responding"
|
||||
)
|
||||
dashboard_msg_id = await pop_value(f"scom:net_dashboard:{message.alert_source}")
|
||||
if dashboard_msg_id:
|
||||
dashboard_msg_id = int(dashboard_msg_id.decode("utf-8"))
|
||||
|
|
Loading…
Reference in New Issue