Remove duplicated title from slack notification (#37834)

This commit is contained in:
Dimitris Sotirakis
2021-08-13 15:13:02 +03:00
committed by GitHub
parent e8696f978f
commit db91a55d49

View File

@@ -299,7 +299,6 @@ func (sn *SlackNotifier) Notify(evalContext *alerting.EvalContext) error {
}
body := map[string]interface{}{
"channel": sn.recipient,
"text": evalContext.GetNotificationTitle(),
"attachments": []map[string]interface{}{
attachment,
},