summaryrefslogtreecommitdiff
path: root/src/other_tools/just_mr/setup_utils.cpp
diff options
context:
space:
mode:
authorMaksim Denisov <denisov.maksim@huawei.com>2024-06-12 10:00:06 +0200
committerMaksim Denisov <denisov.maksim@huawei.com>2024-06-18 12:05:10 +0200
commita7bdda7bd9520238ca3a588a33fc75beeef3c488 (patch)
treee74624591e032b6726e27f4e8aa071c2b4ce8d97 /src/other_tools/just_mr/setup_utils.cpp
parent7576e201023f76b017eae1820461bdab094bd290 (diff)
downloadjustbuild-a7bdda7bd9520238ca3a588a33fc75beeef3c488.tar.gz
Use RemoteServeConfig functionality via Instance()
...to track changes during refactoring easier.
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);