Commit 67ee549a authored by Razvan Becheriu's avatar Razvan Becheriu

[#892] addressed review comments

parent 981263fa
......@@ -19,7 +19,6 @@
#include <dhcpsrv/cfg_db_access.h>
#include <dhcpsrv/cfgmgr.h>
#include <dhcpsrv/db_type.h>
#include <dhcpsrv/multi_threading_utils.h>
#include <hooks/hooks.h>
#include <hooks/hooks_manager.h>
#include <stats/stats_mgr.h>
......@@ -975,8 +974,8 @@ ControlledDhcpv4Srv::~ControlledDhcpv4Srv() {
CommandMgr::instance().deregisterCommand("build-report");
CommandMgr::instance().deregisterCommand("config-backend-pull");
CommandMgr::instance().deregisterCommand("config-get");
CommandMgr::instance().deregisterCommand("config-set");
CommandMgr::instance().deregisterCommand("config-reload");
CommandMgr::instance().deregisterCommand("config-set");
CommandMgr::instance().deregisterCommand("config-test");
CommandMgr::instance().deregisterCommand("config-write");
CommandMgr::instance().deregisterCommand("dhcp-disable");
......
......@@ -43,12 +43,12 @@ public:
/// This method may throw if initialization fails.
void init(const std::string& config_file);
/// @brief Loads specific configuration file
/// @brief Loads specific config file
///
/// This utility method is called whenever we know a filename of the config
/// and need to load it. It calls config-set command once the content of
/// the file has been loaded and verified to be a sane JSON configuration.
/// config-set handler will process the config file (apply it as current
/// config-set handler will process the config file (load it as current
/// configuration).
///
/// @param file_name name of the file to be loaded
......
......@@ -19,7 +19,6 @@
#include <dhcpsrv/cfg_db_access.h>
#include <dhcpsrv/cfgmgr.h>
#include <dhcpsrv/db_type.h>
#include <dhcpsrv/multi_threading_utils.h>
#include <hooks/hooks.h>
#include <hooks/hooks_manager.h>
#include <stats/stats_mgr.h>
......
......@@ -257,8 +257,8 @@ main(int argc, char* argv[]) {
LOG_ERROR(dhcp6_logger, DHCP6_INIT_FAIL).arg(ex.what());
} catch (...) {
// The exception thrown during the initialization could
// originate from logger subsystem. Therefore LOG_ERROR()
// may fail as well.
// originate from logger subsystem. Therefore LOG_ERROR() may
// fail as well.
cerr << "Failed to initialize server: " << ex.what() << endl;
}
......
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