mirror of
https://github.com/prometheus/alertmanager
synced 2025-02-23 06:16:53 +00:00
Fix rocketchat channel templating
Signed-off-by: Reto Kupferschmid <kupferschmid@puzzle.ch>
This commit is contained in:
parent
d0eaa9fcd1
commit
3f4530c97d
@ -202,7 +202,7 @@ func (n *Notifier) Notify(ctx context.Context, as ...*types.Alert) (bool, error)
|
||||
}
|
||||
|
||||
body := &PostMessage{
|
||||
Channel: n.conf.Channel,
|
||||
Channel: tmplText(n.conf.Channel),
|
||||
Emoji: tmplText(n.conf.Emoji),
|
||||
Avatar: tmplText(n.conf.IconURL),
|
||||
Attachments: []Attachment{*att},
|
||||
|
Loading…
Reference in New Issue
Block a user