Commit a3961bc2 authored by Sylvain Rabot's avatar Sylvain Rabot Committed by Brian Brazil

notification_examples: Fix yaml error (#819)

Signed-off-by: 's avatarSylvain Rabot <sylvain@abstraction.fr>
parent fcca1e9a
...@@ -64,8 +64,8 @@ Receiver ...@@ -64,8 +64,8 @@ Receiver
- name: 'default-receiver' - name: 'default-receiver'
slack_configs: slack_configs:
- channel: '#alerts' - channel: '#alerts'
- title: "{{ range .Alerts }}{{ .Annotations.summary }}\n{{ end }}" title: "{{ range .Alerts }}{{ .Annotations.summary }}\n{{ end }}"
- text: "{{ range .Alerts }}{{ .Annotations.description }}\n{{ end }}" text: "{{ range .Alerts }}{{ .Annotations.description }}\n{{ end }}"
``` ```
## Defining reusable templates ## Defining reusable templates
......
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