Fixes prometheus/alertmanager#1211 (#1214)

Add template to severity field for PagerDuty API v2.
This commit is contained in:
Daniel Bonatto 2018-01-27 08:22:41 -02:00 committed by stuart nelson
parent 62b957cc14
commit 94bef6419f

View File

@ -506,7 +506,7 @@ func (n *PagerDuty) notifyV2(ctx context.Context, eventType, key string, tmpl fu
payload = &pagerDutyPayload{
Summary: tmpl(n.conf.Description),
Source: tmpl(n.conf.Client),
Severity: n.conf.Severity,
Severity: tmpl(n.conf.Severity),
CustomDetails: details,
Component: n.conf.Component,
Group: n.conf.Group,