Fix priority tier check for slurm partitions (#323)
- Fix priority tier check for slurm partitions
This commit is contained in:
Родитель
fe9b1f7299
Коммит
d7513beb98
|
@ -552,7 +552,7 @@ def create_slurm_controller(
|
|||
over_subscribe = ' OverSubscribe={}'.format(part.over_subscribe)
|
||||
else:
|
||||
over_subscribe = ''
|
||||
if util.is_not_empty(part.priority_tier):
|
||||
if part.priority_tier is not None:
|
||||
priority_tier = ' PriorityTier={}'.format(part.priority_tier)
|
||||
else:
|
||||
priority_tier = ''
|
||||
|
|
Загрузка…
Ссылка в новой задаче