summaryrefslogtreecommitdiff
path: root/src/other_tools/just_mr/setup_utils.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/other_tools/just_mr/setup_utils.cpp')
-rw-r--r--src/other_tools/just_mr/setup_utils.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/other_tools/just_mr/setup_utils.cpp b/src/other_tools/just_mr/setup_utils.cpp
index 7c78533c..916d1e60 100644
--- a/src/other_tools/just_mr/setup_utils.cpp
+++ b/src/other_tools/just_mr/setup_utils.cpp
@@ -271,7 +271,8 @@ auto SetupServeApi(std::optional<std::string> const& remote_serve_addr,
// setup authentication
SetupAuthConfig(auth);
// setup remote
- if (not RemoteServeConfig::SetRemoteAddress(*remote_serve_addr)) {
+ if (not RemoteServeConfig::Instance().SetRemoteAddress(
+ *remote_serve_addr)) {
Logger::Log(LogLevel::Error,
"setting remote serve service address '{}' failed.",
*remote_serve_addr);