From 12d5450d8d1a88efa644da620f4c1bafdc91dd93 Mon Sep 17 00:00:00 2001 From: cortadocodes Date: Wed, 5 Feb 2025 17:30:05 +0000 Subject: [PATCH] FIX: Fix typo in attribute name skipci --- functions/event_handler/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/functions/event_handler/main.py b/functions/event_handler/main.py index 236d09b..7c16e8b 100644 --- a/functions/event_handler/main.py +++ b/functions/event_handler/main.py @@ -110,7 +110,7 @@ def _dispatch_question_as_kueue_job(event, attributes): resources = { "requests": { - "cpu": attributes.get("resources_cpu", os.environ["QUESTION_DEFAULT_CPUS"]), + "cpus": attributes.get("resources_cpu", os.environ["QUESTION_DEFAULT_CPUS"]), "memory": attributes.get("resource_memory", os.environ["QUESTION_DEFAULT_MEMORY"]), "ephemeral_storage": attributes.get("ephemeral_storage", os.environ["QUESTION_DEFAULT_EPHEMERAL_STORAGE"]), }