Slack notification should contain fallback text (#7961)

This commit is contained in:
Jaroslav Hanslík 2017-03-28 10:05:44 +02:00 committed by Torkel Ödegaard
parent dde8583db8
commit e91a078105

View File

@ -116,6 +116,7 @@ func (this *SlackNotifier) Notify(evalContext *alerting.EvalContext) error {
body := map[string]interface{}{
"attachments": []map[string]interface{}{
{
"fallback": evalContext.GetNotificationTitle(),
"color": evalContext.GetStateModel().Color,
"title": evalContext.GetNotificationTitle(),
"title_link": ruleUrl,