notitfiers: avoid ShouldNotify duplication

This commit is contained in:
Corentin Chary
2018-03-15 10:48:29 +01:00
parent 777c1024c9
commit d4d2b6d7da
16 changed files with 7 additions and 60 deletions
@@ -38,10 +38,6 @@ func NewDingDingNotifier(model *m.AlertNotification) (alerting.Notifier, error)
}, nil
}
func (this *DingDingNotifier) ShouldNotify(context *alerting.EvalContext) bool {
return defaultShouldNotify(context)
}
type DingDingNotifier struct {
NotifierBase
Url string