Skip to content

Commit

Permalink
Fix #146 (safe limit of 200 characters from group label value) (#147)
Browse files Browse the repository at this point in the history
Signed-off-by: jzajic <[email protected]>
  • Loading branch information
jan-zajic authored Apr 25, 2023
1 parent 40a81db commit 4f4b322
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/notify/notify.go
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ func (r *Receiver) Notify(data *alertmanager.Data, hashJiraLabel bool, updateSum

if r.conf.AddGroupLabels {
for k, v := range data.GroupLabels {
issue.Fields.Labels = append(issue.Fields.Labels, fmt.Sprintf("%s=%q", k, v))
issue.Fields.Labels = append(issue.Fields.Labels, fmt.Sprintf("%s=%.200q", k, v))
}
}

Expand Down

0 comments on commit 4f4b322

Please sign in to comment.