Fixed description message

This commit is contained in:
utkarshcmu
2016-11-07 07:27:31 -08:00
parent f8d1eb11a9
commit 5549d8658a

View File

@@ -43,7 +43,7 @@ func (this *PagerdutyNotifier) Notify(evalContext *alerting.EvalContext) error {
bodyJSON := simplejson.New()
bodyJSON.Set("service_key", this.Key)
bodyJSON.Set("description", evalContext.Rule.Name+"-"+evalContext.Rule.Message)
bodyJSON.Set("description", evalContext.Rule.Name + " - " + evalContext.Rule.Message)
bodyJSON.Set("client", "Grafana")
bodyJSON.Set("event_type", "trigger")