diff options
author | Maksim Denisov <denisov.maksim@huawei.com> | 2024-06-10 15:22:14 +0200 |
---|---|---|
committer | Maksim Denisov <denisov.maksim@huawei.com> | 2024-06-18 12:05:10 +0200 |
commit | 7576e201023f76b017eae1820461bdab094bd290 (patch) | |
tree | 3acac800e4885ccefc09dc56090eaee0e841548a /src/other_tools/just_mr/fetch.cpp | |
parent | 3820b5b848644d467013ef0a95c21d08a304b7d3 (diff) | |
download | justbuild-7576e201023f76b017eae1820461bdab094bd290.tar.gz |
Use ServeApi functionality via Instance()
...to track changes during refactoring easier.
Diffstat (limited to 'src/other_tools/just_mr/fetch.cpp')
-rw-r--r-- | src/other_tools/just_mr/fetch.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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<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 " @@ -421,7 +421,7 @@ auto MultiRepoFetch(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 kExitFetchError; // this check logs error on failure } } |