We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b5c96d2 commit 5542b0aCopy full SHA for 5542b0a
pkg/services/alerting/notifiers/pagerduty.go
@@ -71,7 +71,7 @@ func (this *PagerdutyNotifier) Notify(evalContext *alerting.EvalContext) error {
71
HttpMethod: "POST",
72
}
73
74
- if err := bus.Dispatch(cmd); err != nil {
+ if err := bus.DispatchCtx(evalContext.Ctx, cmd); err != nil {
75
this.log.Error("Failed to send notification to Pagerduty", "error", err, "body", string(body))
76
77
0 commit comments