1
0
mirror of https://github.com/StackExchange/dnscontrol.git synced 2024-05-11 05:55:12 +00:00

MSTeams Notifier: Fix init bug in teamsNotifier (#845)

This commit is contained in:
Mike Cochrane
2020-09-05 03:50:58 +12:00
committed by GitHub
parent d6f3f401a5
commit 66ec6dfa0f

View File

@ -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