Commit f1c0d707 authored by Michal 'vorner' Vaner's avatar Michal 'vorner' Vaner
Browse files

[2862] Unify command names with other modules

Use segment_info_update(|_ack) instead of sgmtinfo-update(|-ack). It
seems the design documents were not consistent about that, so,
obviously, different parts of code used different things.
parent feebb258
...@@ -989,7 +989,7 @@ void ...@@ -989,7 +989,7 @@ void
AuthSrv::reconfigureDone(ConstElementPtr params) { AuthSrv::reconfigureDone(ConstElementPtr params) {
// ACK the segment // ACK the segment
impl_->config_session_-> impl_->config_session_->
groupSendMsg(isc::config::createCommand("sgmtinfo-update-ack", groupSendMsg(isc::config::createCommand("segment_info_update_ack",
params), "MemMgr"); params), "MemMgr");
} }
...@@ -997,7 +997,7 @@ void ...@@ -997,7 +997,7 @@ void
AuthSrv::foreignCommand(const std::string& command, const std::string&, AuthSrv::foreignCommand(const std::string& command, const std::string&,
const ConstElementPtr& params) const ConstElementPtr& params)
{ {
if (command == "sgmtinfo-update") { if (command == "segment_info_update") {
impl_->datasrc_clients_mgr_. impl_->datasrc_clients_mgr_.
segmentInfoUpdate(params, boost::bind(&AuthSrv::reconfigureDone, segmentInfoUpdate(params, boost::bind(&AuthSrv::reconfigureDone,
this, params)); this, params));
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment