mirror of
https://github.com/prometheus/alertmanager
synced 2025-01-27 16:43:41 +00:00
Fix typo in string expansion
This commit is contained in:
parent
3917620c24
commit
955c27a869
@ -42,7 +42,7 @@ func Build(confs []*config.NotificationConfig, tmpl *template.Template) map[stri
|
||||
for _, nc := range confs {
|
||||
var (
|
||||
fo = Fanout{}
|
||||
add = func(i int, n Notifier) { fo[fmt.Sprintf("%T/%i", n, i)] = n }
|
||||
add = func(i int, n Notifier) { fo[fmt.Sprintf("%T/%d", n, i)] = n }
|
||||
)
|
||||
|
||||
for i, c := range nc.WebhookConfigs {
|
||||
|
Loading…
Reference in New Issue
Block a user