Browse Source

[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.
Michal 'vorner' Vaner 11 years ago
parent
commit
f1c0d7070d
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/bin/auth/auth_srv.cc

+ 2 - 2
src/bin/auth/auth_srv.cc

@@ -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
 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));