Loading include/global/hostsfile_util.hpp +4 −2 Original line number Diff line number Diff line Loading @@ -17,9 +17,11 @@ #include <vector> #include <string> namespace gkfs::util { namespace gkfs::utils { std::vector<std::pair<std::string, std::string>> load_hostfile(const std::string& path); } // namespace gkfs::util } // namespace gkfs::utils #endif // GEKKOFS_HOSTSFILE_UTIL_HPP src/daemon/relocation/config_manager.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -41,7 +41,7 @@ read_hosts_file() { vector<pair<string, string>> hosts; try { hosts = gkfs::util::load_hostfile(hostfile); hosts = gkfs::utils::load_hostfile(hostfile); } catch(const exception& e) { auto emsg = fmt::format("Failed to load hosts file: {}", e.what()); throw runtime_error(emsg); Loading src/global/hostsfile_util.cpp +2 −2 Original line number Diff line number Diff line Loading @@ -20,7 +20,7 @@ using namespace std; namespace gkfs::util { namespace gkfs::utils { /** * Reads the daemon generator hosts file by a given path, returning hosts and Loading Loading @@ -58,4 +58,4 @@ load_hostfile(const std::string& path) { } return hosts; } } // namespace gkfs::util No newline at end of file } // namespace gkfs::utils Loading
include/global/hostsfile_util.hpp +4 −2 Original line number Diff line number Diff line Loading @@ -17,9 +17,11 @@ #include <vector> #include <string> namespace gkfs::util { namespace gkfs::utils { std::vector<std::pair<std::string, std::string>> load_hostfile(const std::string& path); } // namespace gkfs::util } // namespace gkfs::utils #endif // GEKKOFS_HOSTSFILE_UTIL_HPP
src/daemon/relocation/config_manager.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -41,7 +41,7 @@ read_hosts_file() { vector<pair<string, string>> hosts; try { hosts = gkfs::util::load_hostfile(hostfile); hosts = gkfs::utils::load_hostfile(hostfile); } catch(const exception& e) { auto emsg = fmt::format("Failed to load hosts file: {}", e.what()); throw runtime_error(emsg); Loading
src/global/hostsfile_util.cpp +2 −2 Original line number Diff line number Diff line Loading @@ -20,7 +20,7 @@ using namespace std; namespace gkfs::util { namespace gkfs::utils { /** * Reads the daemon generator hosts file by a given path, returning hosts and Loading Loading @@ -58,4 +58,4 @@ load_hostfile(const std::string& path) { } return hosts; } } // namespace gkfs::util No newline at end of file } // namespace gkfs::utils