Daniel Gibbs hace 5 años
padre
commit
4aa191bea8
Se han modificado 1 ficheros con 14 adiciones y 14 borrados
  1. 14 14
      lgsm/functions/alert_slack.sh

+ 14 - 14
lgsm/functions/alert_slack.sh

@@ -17,20 +17,20 @@ json=$(cat <<EOF
 		{
 			"color": "#36a64f",
 			"blocks": [
-			{
-				"type": "section",
-				"text": {
-					"type": "mrkdwn",
-					"text": "*${alertemoji} ${alertsubject} ${alertemoji}*"
-				}
-			},
-			{
-				"type": "section",
-				"text": {
-					"type": "mrkdwn",
-					"text": "*${servername}*"
-				}
-			},
+				{
+					"type": "section",
+					"text": {
+						"type": "mrkdwn",
+						"text": "*${alertemoji} ${alertsubject} ${alertemoji}*"
+					}
+				},
+				{
+					"type": "section",
+					"text": {
+						"type": "mrkdwn",
+						"text": "*${servername}*"
+					}
+				},
 				{
 					"type": "section",
 					"text": {