mirror of
https://github.com/prometheus/alertmanager
synced 2025-01-30 02:02:48 +00:00
Consider unresolved alerts always pending
This commit is contained in:
parent
5222e340b8
commit
b0ca8f7c1c
@ -144,7 +144,7 @@ func (a *MemAlerts) getPending() []*types.Alert {
|
||||
fps := map[model.Fingerprint]struct{}{}
|
||||
for _, ns := range a.data.notifies {
|
||||
for fp, notify := range ns {
|
||||
if !notify.Delivered {
|
||||
if !notify.Resolved || !notify.Delivered {
|
||||
fps[fp] = struct{}{}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user