alerts: Added Slack mrkdwn support in alert messages (#7202)

This commit is contained in:
Tom Sealey
2017-09-01 14:50:13 +01:00
committed by Neil Lathwood
parent 6914666004
commit 4c3562ea0f

View File

@@ -33,6 +33,7 @@ foreach( $opts as $tmp_api ) {
'color' => $color,
'title' => $obj['title'],
'text' => $slack_msg,
'mrkdwn_in' => ['text', 'fallback']
)
),
'channel' => $tmp_api['channel'],