Browse Source

tech(pagerduty): make api call sync

bergquist 9 years ago
parent
commit
66f257e382
1 changed files with 1 additions and 1 deletions
  1. 1 1
      pkg/services/alerting/notifiers/pagerduty.go

+ 1 - 1
pkg/services/alerting/notifiers/pagerduty.go

@@ -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",