Skip to content
Snippets Groups Projects
Verified Commit 1ee10197 authored by Evangelos Foutras's avatar Evangelos Foutras :smiley_cat:
Browse files

code golfing

parent 274c9665
No related branches found
No related tags found
No related merge requests found
......@@ -174,7 +174,7 @@ scrape_configs:
vhost: {{ vhost.hostname }}
targets:
{% for target in vhost.targets %}
- {{ 'https' if vhost.secure else 'http' }}://{{ target }}
- http{{ 's' if vhost.secure }}://{{ target }}
{% endfor %}
{% endfor %}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment