Procházet zdrojové kódy

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

Stanislav Vetlovskiy před 9 roky
rodič
revize
bd4eadf69c
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  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">