alerting: move queries from evalcontext to notifier base

This commit is contained in:
bergquist
2018-06-05 12:07:02 +02:00
parent 05245e9b3d
commit bcbae7aa62
4 changed files with 23 additions and 18 deletions

View File

@@ -131,6 +131,7 @@ func (n *notificationService) getNeededNotifiers(orgId int64, notificationIds []
if err != nil {
return nil, err
}
if not.ShouldNotify(context) {
result = append(result, not)
}