Skip to content
Snippets Groups Projects
Commit b9806b82 authored by jurgenhaas's avatar jurgenhaas
Browse files

Add more optional fields to httpcheck plugin config

parent 8492bc7d
Branches
No related tags found
No related merge requests found
......@@ -103,8 +103,14 @@ redirect: no
{{ item.name|to_uuid }}:
name: {{ item.name }}
url: {{ item.url }}
{% if item.method is defined %}
method: {{ item.method }}
{% endif %}
{% if item.body is defined %}
body: {{ item.body }}
{% endif %}
{% if item.regex is defined %}
regex: '{{ item.regex|regex_escape() }}'
regex: {{ item.regex|regex_escape() }}
{% endif %}
{% if item.redirect|default(false) %}
redirect: yes
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment