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:
@ -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
|
||||
|
Reference in New Issue
Block a user