Commit 90e653ee authored by Fabian Reinartz's avatar Fabian Reinartz

Fix template error

parent ad6c09f1
...@@ -114,7 +114,7 @@ receivers: ...@@ -114,7 +114,7 @@ receivers:
- name: 'slack-notifications' - name: 'slack-notifications'
slack_configs: slack_configs:
- channel: '#alerts' - channel: '#alerts'
text: '{{ template "slack.myorg.text" . }}{{ end }}' text: '{{ template "slack.myorg.text" . }}'
templates: templates:
- '/etc/alertmanager/templates/myorg.tmpl' - '/etc/alertmanager/templates/myorg.tmpl'
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment