Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
slapos
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Léo-Paul Géneau
slapos
Commits
a5ca5d7b
Commit
a5ca5d7b
authored
Aug 10, 2022
by
Łukasz Nowak
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
monitor: Allow to have empty edgetest-basic configuration
parent
93d4a045
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
software/monitor/buildout.hash.cfg
software/monitor/buildout.hash.cfg
+1
-1
software/monitor/instance-monitor-edgetest-basic.cfg.jinja2
software/monitor/instance-monitor-edgetest-basic.cfg.jinja2
+1
-1
No files found.
software/monitor/buildout.hash.cfg
View file @
a5ca5d7b
...
@@ -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
...
...
software/monitor/instance-monitor-edgetest-basic.cfg.jinja2
View file @
a5ca5d7b
...
@@ -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 = [] %}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment