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
@@ -65,10 +65,6 @@ type WebhookNotifier struct {
log log.Logger
}
func (this *WebhookNotifier) ShouldNotify(context *alerting.EvalContext) bool {
return defaultShouldNotify(context)
}
func (this *WebhookNotifier) Notify(evalContext *alerting.EvalContext) error {
this.log.Info("Sending webhook")