mirror of
https://github.com/prometheus/alertmanager
synced 2024-12-26 16:12:20 +00:00
parent
b3cc6229a2
commit
8a0faa9946
@ -924,10 +924,10 @@ func (n *Wechat) Notify(ctx context.Context, as ...*types.Alert) (bool, error) {
|
||||
Text: weChatMessageContent{
|
||||
Content: tmpl(n.conf.Message),
|
||||
},
|
||||
ToUser: n.conf.ToUser,
|
||||
ToParty: n.conf.ToParty,
|
||||
Totag: n.conf.ToTag,
|
||||
AgentID: n.conf.AgentID,
|
||||
ToUser: tmpl(n.conf.ToUser),
|
||||
ToParty: tmpl(n.conf.ToParty),
|
||||
Totag: tmpl(n.conf.ToTag),
|
||||
AgentID: tmpl(n.conf.AgentID),
|
||||
Type: "text",
|
||||
Safe: "0",
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user