Skip to content
Snippets Groups Projects
Commit 1b0114e9 authored by ale's avatar ale
Browse files

Fix typo

parent c8920de6
No related branches found
No related tags found
No related merge requests found
...@@ -215,7 +215,7 @@ scrape_configs: ...@@ -215,7 +215,7 @@ scrape_configs:
# - caller provides a list of hosts, or a float service # - caller provides a list of hosts, or a float service
# - caller provides a regexp to turn the hosts into targets # - caller provides a regexp to turn the hosts into targets
#} #}
{% set custom_blackbox_targets = p.targets if p.targets is defined else groups[p.get('target_service, 'frontend')] %} {% set custom_blackbox_targets = p.targets if p.targets is defined else groups[p.get('target_service', 'frontend')] %}
{% for target in custom_blackbox_targets %} {% for target in custom_blackbox_targets %}
- "{{ target | regex_replace('^(.*)$', p.target_regex | default('\\1')) }}" - "{{ target | regex_replace('^(.*)$', p.target_regex | default('\\1')) }}"
{% endfor %} {% endfor %}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment