Explorar el Código

Add the missing comma

cglrkn hace 8 años
padre
commit
548bc6b7c4
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      pkg/services/alerting/notifiers/opsgenie.go

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

@@ -125,7 +125,7 @@ func (this *OpsGenieNotifier) closeAlert(evalContext *alerting.EvalContext) erro
 	body, _ := bodyJSON.MarshalJSON()
 
 	cmd := &m.SendWebhookSync{
-		Url:        fmt.Sprintf("%s/alertId-%d/close?identifierType=alias", opsgenieAlertURL, evalContext.Rule.Id)
+		Url:        fmt.Sprintf("%s/alertId-%d/close?identifierType=alias", opsgenieAlertURL, evalContext.Rule.Id),
 		Body:       string(body),
 		HttpMethod: "POST",
     		HttpHeader: map[string]string{