diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2017-05-25 21:12:03 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2017-05-31 01:10:52 +0300 |
commit | d6a34b68d4667d4b99c1e76d63604a7bc1c9c3dd (patch) | |
tree | b3429ea208e804bdd4b7f80416510e509ff36181 /mod/database-module.cxx | |
parent | 94b04d166c1041028571222b9931121b0f7dfded (diff) |
Add support for bbot agent authentication
Diffstat (limited to 'mod/database-module.cxx')
-rw-r--r-- | mod/database-module.cxx | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/mod/database-module.cxx b/mod/database-module.cxx index 9daff53..67e4c9d 100644 --- a/mod/database-module.cxx +++ b/mod/database-module.cxx @@ -34,7 +34,8 @@ namespace brep build_db_ (r.initialized_ ? r.build_db_ : nullptr), build_conf_ (r.initialized_ ? r.build_conf_ : nullptr), build_conf_names_ (r.initialized_ ? r.build_conf_names_ : nullptr), - build_conf_map_ (r.initialized_ ? r.build_conf_map_ : nullptr) + build_conf_map_ (r.initialized_ ? r.build_conf_map_ : nullptr), + bot_agent_keys_ (r.initialized_ ? r.bot_agent_keys_ : nullptr) { } @@ -67,6 +68,9 @@ namespace brep throw_generic_error (EIO, os.str ().c_str ()); } + if (bo.build_bot_agent_keys_specified ()) + bot_agent_keys_ = shared_bot_agent_keys (bo, bo.build_bot_agent_keys ()); + cstrings conf_names; using conf_map_type = map<const char*, |