From 2a17d5bbfb1cde47af676f49f7409c7a0014758b Mon Sep 17 00:00:00 2001 From: Paul Cristian Sarbu Date: Thu, 9 Nov 2023 11:56:09 +0100 Subject: just-mr archives fetch: Add logic for local mirrors and preferred hostnames --- src/other_tools/just_mr/setup.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/other_tools/just_mr/setup.cpp') diff --git a/src/other_tools/just_mr/setup.cpp b/src/other_tools/just_mr/setup.cpp index 6d568bc8..5aab7095 100644 --- a/src/other_tools/just_mr/setup.cpp +++ b/src/other_tools/just_mr/setup.cpp @@ -104,6 +104,7 @@ auto MultiRepoSetup(std::shared_ptr const& config, auto critical_git_op_map = CreateCriticalGitOpMap(crit_git_op_ptr); auto content_cas_map = CreateContentCASMap(common_args.just_mr_paths, + common_args.alternative_mirrors, common_args.ca_info, local_api ? &(*local_api) : nullptr, remote_api ? &(*remote_api) : nullptr, @@ -131,6 +132,7 @@ auto MultiRepoSetup(std::shared_ptr const& config, CreateContentGitMap(&content_cas_map, &import_to_git_map, common_args.just_mr_paths, + common_args.alternative_mirrors, common_args.ca_info, &resolve_symlinks_map, &critical_git_op_map, -- cgit v1.2.3