Alerting frontend : fix line notifier (#37744)

- Fixes #37425
- change `line` type string to uppercase
This commit is contained in:
SLAMA
2021-08-11 02:59:53 +09:00
committed by GitHub
parent 1da779103e
commit 5986d99f51
2 changed files with 3 additions and 3 deletions

View File

@@ -475,7 +475,7 @@ func (am *Alertmanager) buildReceiverIntegrations(receiver *apimodels.PostableAp
n, err = channels.NewDiscordNotifier(cfg, tmpl)
case "googlechat":
n, err = channels.NewGoogleChatNotifier(cfg, tmpl)
case "line":
case "LINE":
n, err = channels.NewLineNotifier(cfg, tmpl)
case "threema":
n, err = channels.NewThreemaNotifier(cfg, tmpl)