aboutsummaryrefslogtreecommitdiff
path: root/mod/mod-build-force.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'mod/mod-build-force.cxx')
-rw-r--r--mod/mod-build-force.cxx9
1 files changed, 5 insertions, 4 deletions
diff --git a/mod/mod-build-force.cxx b/mod/mod-build-force.cxx
index bdae356..1adf67a 100644
--- a/mod/mod-build-force.cxx
+++ b/mod/mod-build-force.cxx
@@ -190,7 +190,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;
connection_ptr conn (build_db_->connection ());
{
@@ -264,8 +264,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.
//
@@ -300,7 +301,7 @@ handle (request& rq, response& rs)
if (auto f = tsq->build_queued (ss,
qbs,
build_state::building,
- qhs,
+ bhs,
log_writer_))
update_tenant_service_state (conn, qbs.back ().tenant, f);
}