|
@@ -65,7 +65,7 @@ func (this *PagerdutyNotifier) Notify(evalContext *alerting.EvalContext) error {
|
|
|
|
|
|
|
|
body, _ := bodyJSON.MarshalJSON()
|
|
body, _ := bodyJSON.MarshalJSON()
|
|
|
|
|
|
|
|
- cmd := &m.SendWebhook{
|
|
|
|
|
|
|
+ cmd := &m.SendWebhookSync{
|
|
|
Url: pagerdutyEventApiUrl,
|
|
Url: pagerdutyEventApiUrl,
|
|
|
Body: string(body),
|
|
Body: string(body),
|
|
|
HttpMethod: "POST",
|
|
HttpMethod: "POST",
|