Skip to content

Commit

Permalink
[orion-decision] Fix python unittests Recipe.arch attribute
Browse files Browse the repository at this point in the history
  • Loading branch information
Akmat Suleimanov committed Oct 9, 2024
1 parent 2809620 commit 4639530
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions services/orion-decision/src/orion_decision/scheduler.py
Original file line number Diff line number Diff line change
Expand Up @@ -499,11 +499,11 @@ def create_tasks(self) -> None:
) - build_tasks_created
pending_deps |= set(dirty_recipe_test_tasks) - test_tasks_created
if pending_deps:
for arch in obj.archs:
if is_svc:
if is_svc:
for arch in obj.archs:
task_id = service_build_tasks[(obj.name, arch)]
else:
task_id = recipe_test_tasks[obj.name]
else:
task_id = recipe_test_tasks[obj.name]

LOG.debug(
"Can't create %s %s task %s before dependencies: %s",
Expand Down

0 comments on commit 4639530

Please sign in to comment.