fix alerting notification
This commit is contained in:
parent
69aaebd3ea
commit
51728a9959
|
@ -701,6 +701,8 @@ func (engine *Engine) Do(rule *alerting.Rule) error {
|
|||
actionResults, _ := performChannels(recoverCfg.Normal, paramsCtx, false)
|
||||
alertItem.RecoverActionResults = actionResults
|
||||
//clear history notification time
|
||||
rule.LastNotificationTime = time.Time{}
|
||||
rule.LastEscalationTime = time.Time{}
|
||||
_ = kv.DeleteKey(alerting2.KVLastNotificationTime, []byte(rule.ID))
|
||||
_ = kv.DeleteKey(alerting2.KVLastEscalationTime, []byte(rule.ID))
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue