aboutsummaryrefslogtreecommitdiff
path: root/mod/mod-build-log.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'mod/mod-build-log.cxx')
-rw-r--r--mod/mod-build-log.cxx7
1 files changed, 5 insertions, 2 deletions
diff --git a/mod/mod-build-log.cxx b/mod/mod-build-log.cxx
index 70e2c7e..ee5d1b2 100644
--- a/mod/mod-build-log.cxx
+++ b/mod/mod-build-log.cxx
@@ -212,10 +212,13 @@ handle (request& rq, response& rs)
//
ostream& os (rs.content (200, "text/plain;charset=utf-8", false));
- auto print_header = [&os, &b] ()
+ auto print_header = [&os, &b, this] ()
{
- // @@ Should we print the tenant? How to call it if that's the case?
+ // Print the build tenant in the multi-tenant mode.
//
+ if (!b->tenant.empty ())
+ os << options_->tenant_name () << ": " << b->tenant << endl << endl;
+
os << "package: " << b->package_name << endl
<< "version: " << b->package_version << endl
<< "toolchain: " << b->toolchain_name << '-' << b->toolchain_version