diff options
author | Francois Kritzinger <francois@codesynthesis.com> | 2024-04-17 08:15:54 +0200 |
---|---|---|
committer | Francois Kritzinger <francois@codesynthesis.com> | 2024-06-05 09:12:46 +0200 |
commit | 0b5c8cfda0f62c47a1f203dc2d182733e4196c34 (patch) | |
tree | bbd6aab3c6fca2836f8799f20d6c1d2666ed6d20 /mod/mod-build-force.cxx | |
parent | 9ba8b0bd4efbd583ca73924b2f20a620a50e432c (diff) |
Also pass build hints to build_building() and build_built()
Diffstat (limited to 'mod/mod-build-force.cxx')
-rw-r--r-- | mod/mod-build-force.cxx | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/mod/mod-build-force.cxx b/mod/mod-build-force.cxx index ea921e9..780bd40 100644 --- a/mod/mod-build-force.cxx +++ b/mod/mod-build-force.cxx @@ -188,7 +188,7 @@ handle (request& rq, response& rs) // const tenant_service_build_queued* tsq (nullptr); optional<pair<tenant_service, shared_ptr<build>>> tss; - tenant_service_build_queued::build_queued_hints qhs; + tenant_service_base::build_hints bhs; // Acquire the database connection for the subsequent transactions. // @@ -269,8 +269,9 @@ handle (request& rq, response& rs) shared_ptr<build_package> p ( build_db_->load<build_package> (b->id.package)); - qhs = tenant_service_build_queued::build_queued_hints { - tpc == 1, p->configs.size () == 1}; + bhs = + tenant_service_base::build_hints {tpc == 1, + p->configs.size () == 1}; // Set the package tenant's queued timestamp. // @@ -311,7 +312,7 @@ handle (request& rq, response& rs) if (auto f = tsq->build_queued (ss, qbs, build_state::building, - qhs, + bhs, log_writer_)) { conn = build_db_->connection (); |