diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2024-03-22 16:04:51 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2024-03-25 11:20:37 +0300 |
commit | a7e49dbeab6c1a0500ca8fa3a1a6261b3740b6b0 (patch) | |
tree | b18ab48616d3cd6d3ec919048fd5363e322d17e4 /mod/mod-build-task.cxx | |
parent | 11369a47e37419a8ef71b99f221f6f1dabcbf6c9 (diff) |
Add NOTIFICATION_DIAG macro to mod/tenant-service.hxx
Diffstat (limited to 'mod/mod-build-task.cxx')
-rw-r--r-- | mod/mod-build-task.cxx | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/mod/mod-build-task.cxx b/mod/mod-build-task.cxx index 29f3783..0892638 100644 --- a/mod/mod-build-task.cxx +++ b/mod/mod-build-task.cxx @@ -2060,7 +2060,10 @@ handle (request& rq, response& rs) if (!qbs.empty ()) { - if (auto f = tsq->build_queued (ss, qbs, nullopt /* initial_state */)) + if (auto f = tsq->build_queued (ss, + qbs, + nullopt /* initial_state */, + log_writer_)) update_tenant_service_state (conn, qbs.back ().tenant, f); } @@ -2076,7 +2079,7 @@ handle (request& rq, response& rs) qbs.push_back (move (b)); restore_build = true; - if (auto f = tsq->build_queued (ss, qbs, initial_state)) + if (auto f = tsq->build_queued (ss, qbs, initial_state, log_writer_)) update_tenant_service_state (conn, qbs.back ().tenant, f); } @@ -2096,7 +2099,7 @@ handle (request& rq, response& rs) const tenant_service& ss (tss->first); const build& b (*tss->second); - if (auto f = tsb->build_building (ss, b)) + if (auto f = tsb->build_building (ss, b, log_writer_)) update_tenant_service_state (conn, b.tenant, f); } @@ -2209,7 +2212,7 @@ handle (request& rq, response& rs) const tenant_service& ss (tss->first); const build& b (*tss->second); - if (auto f = tsb->build_built (ss, b)) + if (auto f = tsb->build_built (ss, b, log_writer_)) update_tenant_service_state (conn, b.tenant, f); } } |