Include check's description in Slack messages.

This commit is contained in:
Pēteris Caune 2018-08-20 20:17:23 +03:00
parent 78aca869c5
commit d2939ac9af
No known key found for this signature in database
GPG Key ID: E28D7679E9A9EDE2

View File

@ -13,6 +13,11 @@
"mrkdwn_in": ["fields"],
"text": "“{{ check.name_then_code|escapejs }}” is {{ check.status|upper }}.",
"fields": [
{% if check.desc %}
{"title": "Description",
"value": "{{ check.desc|escapejs }}"
},
{% endif %}
{% if check.kind == "simple" %}
{"title": "Period",
"value": "{{ check.timeout|hc_duration }}",