Skip to content

Commit 3f4530c

Browse files
committed
Fix rocketchat channel templating
Signed-off-by: Reto Kupferschmid <[email protected]>
1 parent d0eaa9f commit 3f4530c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

notify/rocketchat/rocketchat.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ func (n *Notifier) Notify(ctx context.Context, as ...*types.Alert) (bool, error)
202202
}
203203

204204
body := &PostMessage{
205-
Channel: n.conf.Channel,
205+
Channel: tmplText(n.conf.Channel),
206206
Emoji: tmplText(n.conf.Emoji),
207207
Avatar: tmplText(n.conf.IconURL),
208208
Attachments: []Attachment{*att},

0 commit comments

Comments
 (0)