From 667e946444468d869c3658b003ec68d6521a5f4b Mon Sep 17 00:00:00 2001 From: mprahl Date: Tue, 23 Jan 2018 09:41:59 -0500 Subject: [PATCH] Reset the module-build-macros state when building it from a resumed module build --- module_build_service/scheduler/handlers/modules.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/module_build_service/scheduler/handlers/modules.py b/module_build_service/scheduler/handlers/modules.py index 7067e3b1..5e75f178 100644 --- a/module_build_service/scheduler/handlers/modules.py +++ b/module_build_service/scheduler/handlers/modules.py @@ -349,6 +349,10 @@ def wait(config, session, msg): further_work += msgs else: task_id, state, reason, nvr = builder.build(artifact_name=artifact_name, source=srpm) + component_build.task_id = task_id + component_build.state = state + component_build.reason = reason + component_build.nvr = nvr session.add(component_build) build.transition(config, state="build")