From 7576e201023f76b017eae1820461bdab094bd290 Mon Sep 17 00:00:00 2001 From: Maksim Denisov Date: Mon, 10 Jun 2024 15:22:14 +0200 Subject: Use ServeApi functionality via Instance() ...to track changes during refactoring easier. --- src/other_tools/just_mr/fetch.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/other_tools/just_mr/fetch.cpp') diff --git a/src/other_tools/just_mr/fetch.cpp b/src/other_tools/just_mr/fetch.cpp index f2c3e8a9..46be0083 100644 --- a/src/other_tools/just_mr/fetch.cpp +++ b/src/other_tools/just_mr/fetch.cpp @@ -404,7 +404,7 @@ auto MultiRepoFetch(std::shared_ptr 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 " @@ -421,7 +421,7 @@ auto MultiRepoFetch(std::shared_ptr 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 kExitFetchError; // this check logs error on failure } } -- cgit v1.2.3