From 7dabb6e931740b2777be5dca53c3cec0b984f0fb Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Mon, 3 Dec 2018 21:25:27 +0300 Subject: Print configuration target and classes on build configurations page --- mod/mod-builds.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'mod/mod-builds.cxx') diff --git a/mod/mod-builds.cxx b/mod/mod-builds.cxx index 91a4aa6..6ad5a0e 100644 --- a/mod/mod-builds.cxx +++ b/mod/mod-builds.cxx @@ -292,7 +292,7 @@ handle (request& rq, response& rs) if (build_db_ == nullptr) throw invalid_request (501, "not implemented"); - const size_t page_configs (options_->build_configurations ()); + const size_t page_configs (options_->build_page_entries ()); const string& host (options_->host ()); const dir_path& root (options_->root ()); const string& tenant_name (options_->tenant_name ()); @@ -478,6 +478,7 @@ handle (request& rq, response& rs) // count = 0; vector> builds; + builds.reserve (page_configs); // Prepare the package build prepared query. // -- cgit v1.1