fix(notification): broken test notifications

ref #6159
This commit is contained in:
bergquist
2016-10-03 17:03:21 +02:00
parent 5a201cfd35
commit d726f49a8c
6 changed files with 11 additions and 23 deletions

View File

@@ -65,7 +65,7 @@ func (this *WebhookNotifier) Notify(evalContext *alerting.EvalContext) error {
Body: string(body),
}
if err := bus.DispatchCtx(evalContext, cmd); err != nil {
if err := bus.DispatchCtx(evalContext.Ctx, cmd); err != nil {
this.log.Error("Failed to send webhook", "error", err, "webhook", this.Name)
}