Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
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
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kirill Smelkov
slapos
Commits
b35e50ae
Commit
b35e50ae
authored
Jan 17, 2024
by
Kirill Smelkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.
parent
f86fba79
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
12 deletions
+12
-12
software/ors-amarisoft/slaplte.jinja2
software/ors-amarisoft/slaplte.jinja2
+12
-12
No files found.
software/ors-amarisoft/slaplte.jinja2
View file @
b35e50ae
...
@@ -141,10 +141,10 @@
...
@@ -141,10 +141,10 @@
{#- bug indicates an error in template logic.
{#- bug indicates an error in template logic.
it should not happen.
#}
it should not happen. #}
{%- macro bug(msg)
%}
{%- macro bug(msg) %}
{%- do assert(False, msg)
%}
{%- do assert(False, msg) %}
{%- endmacro
%}
{%- endmacro %}
{#- ierror reports an error about shared instance. #}
{#- ierror reports an error about shared instance. #}
{#- XXX ierror(ishared, msg) vvv is debug stub -#}
{#- XXX ierror(ishared, msg) vvv is debug stub -#}
...
@@ -164,16 +164,16 @@
...
@@ -164,16 +164,16 @@
{#- XXX add protection wrt duplicate slave_title -- see jref_of_shared for details #}
{#- XXX add protection wrt duplicate slave_title -- see jref_of_shared for details #}
{#- check_loaded_everything verifies that all shared instances were handling during the load. #}
{#- check_loaded_everything verifies that all shared instances were handling during the load. #}
{%- macro check_loaded_everything()
%}
{%- macro check_loaded_everything() %}
{%- for ishared in qshared_instance_list
%}
{%- for ishared in qshared_instance_list %}
{%- do ierror(ishared, "shared instance of unsupported type") %}
{%- do ierror(ishared, "shared instance of unsupported type") %}
{%- endfor
%}
{%- endfor %}
{%- endmacro
%}
{%- endmacro %}
{#- json-decode _ in all shared instances
#}
{#- json-decode _ in all shared instances #}
{%- for ishared in qshared_instance_list
%}
{%- for ishared in qshared_instance_list %}
{%- do ishared.update({'_': J(ishared['_'])})
%}
{%- do ishared.update({'_': J(ishared['_'])}) %}
{%- endfor
%}
{%- endfor %}
{#- load_iru_and_icell initializes RU and cell registries.
{#- load_iru_and_icell initializes RU and cell registries.
...
...
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