Commit a5ca5d7b authored by Łukasz Nowak's avatar Łukasz Nowak

monitor: Allow to have empty edgetest-basic configuration

parent 93d4a045
...@@ -26,7 +26,7 @@ md5sum = 2eb5596544d9c341acf653d4f7ce2680 ...@@ -26,7 +26,7 @@ md5sum = 2eb5596544d9c341acf653d4f7ce2680
[template-monitor-edgetest-basic] [template-monitor-edgetest-basic]
_update_hash_filename_ = instance-monitor-edgetest-basic.cfg.jinja2 _update_hash_filename_ = instance-monitor-edgetest-basic.cfg.jinja2
md5sum = 8e0c4041f680312ff054687d7f28275a md5sum = efc528296ddf7fade335d5f4241c1828
[network-bench-cfg] [network-bench-cfg]
filename = network_bench.cfg.in filename = network_bench.cfg.in
......
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
{%- endif %} {%- endif %}
{%- endfor %} {%- endfor %}
{%- set CHECK_DICT = {} %} {%- set CHECK_DICT = {} %}
{%- for check_name, check_definition in slapparameter_dict['check-dict'].items() %} {%- for check_name, check_definition in slapparameter_dict.get('check-dict', {}).items() %}
{%- if 'url-list' in check_definition %} {%- if 'url-list' in check_definition %}
{%- set check = DEFAULT_DICT.copy() %} {%- set check = DEFAULT_DICT.copy() %}
{%- set url_list = [] %} {%- set url_list = [] %}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment