summaryrefslogtreecommitdiff
path: root/src/other_tools/just_mr/setup.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/other_tools/just_mr/setup.cpp')
-rw-r--r--src/other_tools/just_mr/setup.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/other_tools/just_mr/setup.cpp b/src/other_tools/just_mr/setup.cpp
index 0479d0e5..2d60a8da 100644
--- a/src/other_tools/just_mr/setup.cpp
+++ b/src/other_tools/just_mr/setup.cpp
@@ -123,7 +123,7 @@ auto MultiRepoSetup(std::shared_ptr<Configuration> const& config,
// check configuration of the serve endpoint provided
if (serve_api_exists) {
// check the compatibility mode of the serve endpoint
- auto compatible = ServeApi::IsCompatible();
+ auto compatible = ServeApi::Instance().IsCompatible();
if (not compatible) {
Logger::Log(LogLevel::Warning,
"Checking compatibility configuration of the provided "
@@ -140,7 +140,7 @@ auto MultiRepoSetup(std::shared_ptr<Configuration> const& config,
// if we have a remote endpoint explicitly given by the user, it must
// match what the serve endpoint expects
if (remote_api and common_args.remote_execution_address and
- not ServeApi::CheckServeRemoteExecution()) {
+ not ServeApi::Instance().CheckServeRemoteExecution()) {
return std::nullopt; // this check logs error on failure
}
}