Fix typo in string expansion

This commit is contained in:
Fabian Reinartz 2015-10-14 12:52:17 +02:00
parent 3917620c24
commit 955c27a869

View File

@ -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 {