Skip to content
This repository was archived by the owner on Mar 6, 2023. It is now read-only.

Commit

Permalink
Merge pull request #36 from walczakp/master
Browse files Browse the repository at this point in the history
[patch] don't treat false, true, null as strings when templating smtp configuration
  • Loading branch information
paulfantom authored Apr 21, 2018
2 parents 55a71a8 + 4b2183a commit 282c812
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/alertmanager.yml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
global:
resolve_timeout: {{ alertmanager_resolve_timeout }}
{% for key, value in alertmanager_smtp.items() %}
smtp_{{ key }}: "{{ value }}"
smtp_{{ key }}: {{ value }}
{% endfor %}
{% if alertmanager_slack_api_url != '' %}
slack_api_url: {{ alertmanager_slack_api_url }}
Expand Down

0 comments on commit 282c812

Please sign in to comment.