mirror of https://github.com/statping/statping
Some notifier fixes
parent
ac4b52dcdb
commit
e99e807958
|
@ -28,7 +28,7 @@ func (s *mattermost) Select() *notifications.Notification {
|
||||||
return s.Notification
|
return s.Notification
|
||||||
}
|
}
|
||||||
|
|
||||||
var mattermost = &mattermost{¬ifications.Notification{
|
var mattermoster = &mattermost{¬ifications.Notification{
|
||||||
Method: mattermostMethod,
|
Method: mattermostMethod,
|
||||||
Title: "Mattermost",
|
Title: "Mattermost",
|
||||||
Description: "Send notifications to your mattermost channel when a service is offline. Insert your Incoming webhook URL for your channel to receive notifications. Based on the <a href=\"https://docs.mattermost.com/developer/webhooks-incoming.html\">Mattermost API</a>.",
|
Description: "Send notifications to your mattermost channel when a service is offline. Insert your Incoming webhook URL for your channel to receive notifications. Based on the <a href=\"https://docs.mattermost.com/developer/webhooks-incoming.html\">Mattermost API</a>.",
|
||||||
|
|
|
@ -26,7 +26,7 @@ type replacer struct {
|
||||||
func InitNotifiers() {
|
func InitNotifiers() {
|
||||||
Add(
|
Add(
|
||||||
slacker,
|
slacker,
|
||||||
mattermost,
|
mattermoster,
|
||||||
Command,
|
Command,
|
||||||
Discorder,
|
Discorder,
|
||||||
email,
|
email,
|
||||||
|
|
Loading…
Reference in New Issue