Преглед изворни кода

#7383 Fix factory typo in telegram notifier (#7406)

Stanislav Vetlovskiy пре 9 година
родитељ
комит
bd4eadf69c
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      pkg/services/alerting/notifiers/telegram.go

+ 1 - 1
pkg/services/alerting/notifiers/telegram.go

@@ -20,7 +20,7 @@ func init() {
 		Type:        "telegram",
 		Name:        "Telegram",
 		Description: "Sends notifications to Telegram",
-		Factory:     NewOpsGenieNotifier,
+		Factory:     NewTelegramNotifier,
 		OptionsTemplate: `
       <h3 class="page-heading">Telegram API settings</h3>
       <div class="gf-form">