Skip to content

Commit

Permalink
Remove "[" from title AM template
Browse files Browse the repository at this point in the history
  • Loading branch information
Konstantinov-Innokentii committed Nov 21, 2024
1 parent 168542e commit 66b28f2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion engine/config_integrations/alertmanager.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
{% set alertname = groupLabels.pop("alertname", "") -%}
{% endif -%}
[{{ alertname }} {% if groupLabels | length > 0 %}({{ groupLabels.values()|join(", ") }}){% endif %}
{{ alertname }} {% if groupLabels | length > 0 %}({{ groupLabels.values()|join(", ") }}){% endif %}
""" # noqa

web_message = """\
Expand Down
2 changes: 1 addition & 1 deletion engine/config_integrations/grafana_alerting.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
{% set alertname = groupLabels.pop("alertname", "") -%}
{% endif -%}
[{{ alertname }} {% if groupLabels | length > 0 %}({{ groupLabels.values()|join(", ") }}){% endif %}
{{ alertname }} {% if groupLabels | length > 0 %}({{ groupLabels.values()|join(", ") }}){% endif %}
""" # noqa

web_message = """\
Expand Down

0 comments on commit 66b28f2

Please sign in to comment.