Daniel Gibbs 5 年之前
父節點
當前提交
cc8046ccc7
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      lgsm/functions/alert_slack.sh

+ 2 - 2
lgsm/functions/alert_slack.sh

@@ -28,14 +28,14 @@ json=$(cat <<EOF
 				"type": "section",
 				"text": {
 					"type": "mrkdwn",
-					"text": "${alertbody}"
+					"text": "*${servername}*"
 				}
 			},
 				{
 					"type": "section",
 					"text": {
 						"type": "mrkdwn",
-						"text": "*${servername}*"
+						"text": "${alertbody}"
 					}
 				},
 				{