summaryrefslogtreecommitdiff
path: root/src/other_tools/just_mr/fetch.cpp
diff options
context:
space:
mode:
authorPaul Cristian Sarbu <paul.cristian.sarbu@huawei.com>2023-11-02 11:35:51 +0100
committerAlberto Sartori <alberto.sartori@huawei.com>2023-11-15 20:19:18 +0100
commit40ed3ee050e0fc3d0f41fc46f7360d28b9a1f7cc (patch)
treee1096799ec23b3ae5009cbbead98ee5db559e54a /src/other_tools/just_mr/fetch.cpp
parente2e0e3b4e92885dd74127aacaabb0c5f3ba86ce7 (diff)
downloadjustbuild-40ed3ee050e0fc3d0f41fc46f7360d28b9a1f7cc.tar.gz
just-mr: Update to using the static methods of ServeApi
Diffstat (limited to 'src/other_tools/just_mr/fetch.cpp')
-rw-r--r--src/other_tools/just_mr/fetch.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/other_tools/just_mr/fetch.cpp b/src/other_tools/just_mr/fetch.cpp
index 70322d98..16dcda22 100644
--- a/src/other_tools/just_mr/fetch.cpp
+++ b/src/other_tools/just_mr/fetch.cpp
@@ -269,7 +269,7 @@ auto MultiRepoFetch(std::shared_ptr<Configuration> const& config,
nr == 1 ? "archive" : "archives");
// setup the APIs for archive fetches
- auto remote_api = JustMR::Utils::SetupRemoteApi(
+ auto remote_api = JustMR::Utils::GetRemoteApi(
common_args.remote_execution_address, auth_args);
IExecutionApi::Ptr local_api{remote_api ? std::make_unique<LocalApi>()
: nullptr};