Skip to content
Snippets Groups Projects
Commit 8cac4b88 authored by Chris Hines's avatar Chris Hines
Browse files

jinja template wasn't working well with undefined variables

parent 7250c24b
No related branches found
No related tags found
No related merge requests found
......@@ -98,7 +98,7 @@ SlurmSchedLogFile={{ slurmschedlog.log }}
JobCompType=jobcomp/none
#JobCompLoc=
#
{% if slurmjob %}
{% if slurmjob is defined %}
Prolog={{ slurmjob.prolog }}
Epilog={{ slurmjob.epilog }}
{% endif %}
......
......@@ -22,7 +22,7 @@ DbdHost={{ slurmctrl }}
SlurmUser=slurm
#MessageTimeout=300
#DefaultQOS=normal,standby
{% if slurmdbdlog %}
{% if slurmdbdlog is defined %}
DebugLevel={{ slurmdbdlog.level }}
LogFile={{ slurmdbdlog.log }}
{% else %}
......
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