From f2cc61de479448a227136ee278941413560ecffc Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Wed, 22 Jan 2025 10:32:10 +0200 Subject: Add support for tenant_service_build_built::build_completed() notification --- mod/mod-ci.cxx | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'mod/mod-ci.cxx') diff --git a/mod/mod-ci.cxx b/mod/mod-ci.cxx index 16ec5a7..85c00c6 100644 --- a/mod/mod-ci.cxx +++ b/mod/mod-ci.cxx @@ -496,8 +496,8 @@ build_building (const string& /*tenant_id*/, }; } -function (const string& tenant_id, - const brep::tenant_service&)> brep::ci:: +function, bool> (const string& tenant_id, + const brep::tenant_service&)> brep::ci:: build_built (const string& /*tenant_id*/, const tenant_service&, const build& b, @@ -515,7 +515,8 @@ build_built (const string& /*tenant_id*/, b.toolchain_name + '/' + b.toolchain_version.string ()); - return ts.data ? *ts.data + ", " + s : s; + return make_pair ( + optional (ts.data ? *ts.data + ", " + s : s), false); }; } -- cgit v1.1