Commit a1a9f339 by Robin Burchell

telegram: Fix a typo in variable name

parent f3a66ecb
...@@ -11,7 +11,7 @@ import ( ...@@ -11,7 +11,7 @@ import (
) )
var ( var (
telegeramApiUrl string = "https://api.telegram.org/bot%s/%s" telegramApiUrl string = "https://api.telegram.org/bot%s/%s"
) )
func init() { func init() {
...@@ -113,7 +113,7 @@ func (this *TelegramNotifier) Notify(evalContext *alerting.EvalContext) error { ...@@ -113,7 +113,7 @@ func (this *TelegramNotifier) Notify(evalContext *alerting.EvalContext) error {
bodyJSON.Set("text", message) bodyJSON.Set("text", message)
url := fmt.Sprintf(telegeramApiUrl, this.BotToken, "sendMessage") url := fmt.Sprintf(telegramApiUrl, this.BotToken, "sendMessage")
body, _ := bodyJSON.MarshalJSON() body, _ := bodyJSON.MarshalJSON()
cmd := &m.SendWebhookSync{ cmd := &m.SendWebhookSync{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment