fix event message id is empty in notification
This commit is contained in:
parent
5a65a2ecd8
commit
4093fcb3c1
|
@ -750,6 +750,7 @@ func (engine *Engine) Do(rule *alerting.Rule) error {
|
|||
Tags: rule.Tags,
|
||||
Category: rule.Category,
|
||||
}
|
||||
alertMessage = msg
|
||||
err = saveAlertMessage(msg)
|
||||
if err != nil {
|
||||
return fmt.Errorf("save alert message error: %w", err)
|
||||
|
|
Loading…
Reference in New Issue