diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2024-12-02 14:01:53 +0200 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2024-12-02 14:01:53 +0200 |
commit | 56e8ebbb2f9ce02149f248aecebe20fcfd1d8e07 (patch) | |
tree | 836b4728d3645971722aaa4b30ee1d6b84f47013 /mod/mod-build-force.cxx | |
parent | 0ae394e9bb425dc8a3b06e7ba722df4f39bcf61d (diff) |
Add tenant id to tenant service notifications and callbacks
Diffstat (limited to 'mod/mod-build-force.cxx')
-rw-r--r-- | mod/mod-build-force.cxx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/mod/mod-build-force.cxx b/mod/mod-build-force.cxx index 8666889..d37674f 100644 --- a/mod/mod-build-force.cxx +++ b/mod/mod-build-force.cxx @@ -314,14 +314,15 @@ handle (request& rq, response& rs) // conn.reset (); - if (auto f = tsq->build_queued (ss, + if (auto f = tsq->build_queued (qbs.back ().tenant, + ss, qbs, build_state::building, qhs, log_writer_)) { conn = build_db_->connection (); - update_tenant_service_state (conn, qbs.back ().tenant, f); + update_tenant_service_state (conn, ss.type, ss.id, f); } } |