aboutsummaryrefslogtreecommitdiff
path: root/mod/database-module.cxx
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2017-06-30 02:53:57 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2017-07-03 23:56:29 +0300
commit17d44ec2c41a5b485cecae51a07396f85a601248 (patch)
tree5b8f74f8176059c9ab8cbbc770e4b9ee75872f41 /mod/database-module.cxx
parentc2a0ae3e226d1cedceb2a7814c8adfbbfbd7afe1 (diff)
Fix builds page to correctly display unbuilt package count
Diffstat (limited to 'mod/database-module.cxx')
-rw-r--r--mod/database-module.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/mod/database-module.cxx b/mod/database-module.cxx
index 67e4c9d..ab39a18 100644
--- a/mod/database-module.cxx
+++ b/mod/database-module.cxx
@@ -43,6 +43,7 @@ namespace brep
init (const options::package_db& o, size_t retry)
{
package_db_ = shared_database (o.package_db_user (),
+ o.package_db_role (),
o.package_db_password (),
o.package_db_name (),
o.package_db_host (),
@@ -89,6 +90,7 @@ namespace brep
build_conf_map_ = make_shared<conf_map_type> (move (conf_map));
build_db_ = shared_database (dbo.build_db_user (),
+ dbo.build_db_role (),
dbo.build_db_password (),
dbo.build_db_name (),
dbo.build_db_host (),