Rename message to markwdown on the webex notifier
Signed-off-by: gotjosh <josue.abreu@gmail.com>
This commit is contained in:
parent
2c9eb9858e
commit
5ebe94d325
|
@ -70,7 +70,7 @@ func New(c *config.WebexConfig, t *template.Template, l log.Logger, httpOpts ...
|
|||
}
|
||||
|
||||
type webhook struct {
|
||||
Message string `json:"markdown"`
|
||||
Markdown string `json:"markdown"`
|
||||
RoomID string `json:"roomId,omitempty"`
|
||||
}
|
||||
|
||||
|
@ -100,7 +100,7 @@ func (n *Notifier) Notify(ctx context.Context, as ...*types.Alert) (bool, error)
|
|||
}
|
||||
|
||||
w := webhook{
|
||||
Message: message,
|
||||
Markdown: message,
|
||||
RoomID: n.conf.RoomID,
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue