From 66ec6dfa0f4d5b10b2730d186531d18c020210d9 Mon Sep 17 00:00:00 2001 From: Mike Cochrane Date: Sat, 5 Sep 2020 03:50:58 +1200 Subject: [PATCH] MSTeams Notifier: Fix init bug in teamsNotifier (#845) --- pkg/notifications/teams.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/notifications/teams.go b/pkg/notifications/teams.go index d605566a7..7f97d6441 100644 --- a/pkg/notifications/teams.go +++ b/pkg/notifications/teams.go @@ -10,12 +10,12 @@ import ( func init() { initers = append(initers, func(cfg map[string]string) Notifier { - url, ok := cfg["slack_url"] + url, ok := cfg["teams_url"] if !ok { return nil } - notifier := &slackNotifier{ + notifier := &teamsNotifier{ URL: url, } return notifier