From 70c1cdfd8f34472761fe5ec97f0713990c1b4f5b Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Wed, 5 Sep 2018 21:23:41 +0300 Subject: Add multi-tenancy support --- mod/mod-build-force.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'mod/mod-build-force.cxx') diff --git a/mod/mod-build-force.cxx b/mod/mod-build-force.cxx index b6514ce..ddc1301 100644 --- a/mod/mod-build-force.cxx +++ b/mod/mod-build-force.cxx @@ -122,7 +122,7 @@ handle (request& rq, response& rs) if (c.empty ()) throw invalid_argument ("no configuration name"); - id = build_id (package_id (move (p), package_version), + id = build_id (package_id (move (tenant), move (p), package_version), move (c), toolchain_version); } @@ -168,6 +168,7 @@ handle (request& rq, response& rs) build_db_->update (b); l1 ([&]{trace << "force rebuild for " + << b->tenant << ' ' << b->package_name << '/' << b->package_version << ' ' << b->configuration << ' ' << b->toolchain_name << '-' << b->toolchain_version -- cgit v1.1