From a848ec747d321641c0a985e7a34f1135b8117e29 Mon Sep 17 00:00:00 2001 From: Leonardo Schwarz Date: Mon, 20 Jan 2025 15:37:25 +0100 Subject: [PATCH] fix --- app_runner/src/app_runner/bfabric_app/submitter.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app_runner/src/app_runner/bfabric_app/submitter.py b/app_runner/src/app_runner/bfabric_app/submitter.py index a6d10aa..65c838b 100644 --- a/app_runner/src/app_runner/bfabric_app/submitter.py +++ b/app_runner/src/app_runner/bfabric_app/submitter.py @@ -43,7 +43,7 @@ def run(self) -> None: workunit_wrapper_data = self.get_workunit_wrapper_data() submitter_ref: SubmitterRef = workunit_wrapper_data.app_version.submitter submitter_name = submitter_ref.name - submitter_spec = self._submitters_spec.get(submitter_name) + submitter_spec = self._submitters_spec.submitters.get(submitter_name) if submitter_spec is None: raise ValueError(f"Submitter '{submitter_name}' not found in submitters spec.") if submitter_spec.type != "slurm":