소스 검색

Slack notification should contain fallback text (#7961)

Jaroslav Hanslík 8 년 전
부모
커밋
e91a078105
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      pkg/services/alerting/notifiers/slack.go

+ 1 - 0
pkg/services/alerting/notifiers/slack.go

@@ -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,