Skip to content

Commit

Permalink
fix: pd unique key format
Browse files Browse the repository at this point in the history
  • Loading branch information
mabdh committed Jul 24, 2024
1 parent b68c935 commit 3ba69be
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
{{- end}}
{{- end}}
event_type: "{{template "pagerduty.event_type" . }}"
{{if .Data.id}}incident_key: "{{.UniqueKey}}"{{ end }}
incident_key: "{{.UniqueKey}}"
description: ({{ .Data.status | toUpper }}{{ if eq .Data.status "firing" }}:{{ .Data.num_alerts_firing }}{{ end }})
{{- if eq .Data.status "resolved" }} ~({{ .Data.severity | toUpper }})~
{{- else }} *({{ .Data.severity | toUpper }})*
Expand Down

0 comments on commit 3ba69be

Please sign in to comment.