Explorar o código

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

Stanislav Vetlovskiy %!s(int64=9) %!d(string=hai) anos
pai
achega
bd4eadf69c
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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">