From b0ca8f7c1ceca1f7e8ca7ac6a89b7f27d85c1063 Mon Sep 17 00:00:00 2001 From: Fabian Reinartz Date: Mon, 5 Oct 2015 16:09:55 +0200 Subject: [PATCH] Consider unresolved alerts always pending --- provider/mem.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/provider/mem.go b/provider/mem.go index 2ad31520..b3a33d53 100644 --- a/provider/mem.go +++ b/provider/mem.go @@ -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{}{} } }