aboutsummaryrefslogtreecommitdiff
path: root/mod/mod-build-force.cxx
diff options
context:
space:
mode:
authorFrancois Kritzinger <francois@codesynthesis.com>2024-04-24 09:49:23 +0200
committerFrancois Kritzinger <francois@codesynthesis.com>2024-06-05 09:12:46 +0200
commit05ef8418b7d644c93d6121a3c26ee4a0a50309ef (patch)
tree3c4b547126c9a08c434adda924a4f18cbfb029c9 /mod/mod-build-force.cxx
parent68385233360f59b03a4036b1fae2f47764cc206f (diff)
Revert "Also pass build hints to build_building() and build_built()"
This reverts commit 9aa7ca59da55089e6f00733476356ef90bef25d2.
Diffstat (limited to 'mod/mod-build-force.cxx')
-rw-r--r--mod/mod-build-force.cxx9
1 files changed, 4 insertions, 5 deletions
diff --git a/mod/mod-build-force.cxx b/mod/mod-build-force.cxx
index 780bd40..ea921e9 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_base::build_hints bhs;
+ tenant_service_build_queued::build_queued_hints qhs;
// Acquire the database connection for the subsequent transactions.
//
@@ -269,9 +269,8 @@ handle (request& rq, response& rs)
shared_ptr<build_package> p (
build_db_->load<build_package> (b->id.package));
- bhs =
- tenant_service_base::build_hints {tpc == 1,
- p->configs.size () == 1};
+ qhs = tenant_service_build_queued::build_queued_hints {
+ tpc == 1, p->configs.size () == 1};
// Set the package tenant's queued timestamp.
//
@@ -312,7 +311,7 @@ handle (request& rq, response& rs)
if (auto f = tsq->build_queued (ss,
qbs,
build_state::building,
- bhs,
+ qhs,
log_writer_))
{
conn = build_db_->connection ();