Commit 66f257e3 by bergquist

tech(pagerduty): make api call sync

parent 7bc80d03
...@@ -65,7 +65,7 @@ func (this *PagerdutyNotifier) Notify(evalContext *alerting.EvalContext) error { ...@@ -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",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment