From e99e807958c18568a5fa369c4ec2e708e25d4f10 Mon Sep 17 00:00:00 2001 From: Adam Boutcher Date: Tue, 14 Sep 2021 11:48:08 +0100 Subject: [PATCH] Some notifier fixes --- notifiers/mattermost.go | 2 +- notifiers/notifiers.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/notifiers/mattermost.go b/notifiers/mattermost.go index 02e48630..b5813c74 100644 --- a/notifiers/mattermost.go +++ b/notifiers/mattermost.go @@ -28,7 +28,7 @@ func (s *mattermost) Select() *notifications.Notification { return s.Notification } -var mattermost = &mattermost{¬ifications.Notification{ +var mattermoster = &mattermost{¬ifications.Notification{ Method: mattermostMethod, 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 Mattermost API.", diff --git a/notifiers/notifiers.go b/notifiers/notifiers.go index b46c9845..1ffc2848 100644 --- a/notifiers/notifiers.go +++ b/notifiers/notifiers.go @@ -26,7 +26,7 @@ type replacer struct { func InitNotifiers() { Add( slacker, - mattermost, + mattermoster, Command, Discorder, email,