From a7e49dbeab6c1a0500ca8fa3a1a6261b3740b6b0 Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Fri, 22 Mar 2024 16:04:51 +0300 Subject: Add NOTIFICATION_DIAG macro to mod/tenant-service.hxx --- mod/mod-build-task.cxx | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'mod/mod-build-task.cxx') 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); } } -- cgit v1.1