From 8215ae654202186a4f753c3abe937b7b9b91a9c7 Mon Sep 17 00:00:00 2001 From: Rahul Mahajan Date: Tue, 2 Jul 2024 16:22:11 -0400 Subject: [PATCH] Hotfix for clusters from #2701 (#2747) Fixes an issue created from #2701 that added `CLUSTERS` to the `gaea.yaml`. --- workflow/rocoto/tasks.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/workflow/rocoto/tasks.py b/workflow/rocoto/tasks.py index e18b45ef28..4f97ef1faa 100644 --- a/workflow/rocoto/tasks.py +++ b/workflow/rocoto/tasks.py @@ -226,7 +226,7 @@ def get_resource(self, task_name): native = '--export=NONE' if task_config['RESERVATION'] != "": native += '' if task_name in Tasks.SERVICE_TASKS else ' --reservation=' + task_config['RESERVATION'] - if task_config['CLUSTERS'] != "": + if task_config['CLUSTERS'] not in ["", '@CLUSTERS@']: native += ' --clusters=' + task_config['CLUSTERS'] queue = task_config['QUEUE_SERVICE'] if task_name in Tasks.SERVICE_TASKS else task_config['QUEUE']