Skip to content

Commit 8ef8760

Browse files
committed
implementing changes recommended by owner for a new PR
1 parent f738baa commit 8ef8760

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

notify.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ func (r *Receiver) Notify(data *alertmanager.Data) (bool, error) {
9292
if len(r.conf.Components) > 0 {
9393
issue.Fields.Components = make([]*jira.Component, 0, len(r.conf.Components))
9494
for _, component := range r.conf.Components {
95-
issue.Fields.Components = append(issue.Fields.Components, &jira.Component{Name: component})
95+
issue.Fields.Components = append(issue.Fields.Components, &jira.Component{Name: r.tmpl.Execute(component, data)})
9696
}
9797
}
9898

0 commit comments

Comments
 (0)