summaryrefslogtreecommitdiff
path: root/src/other_tools/just_mr/fetch.cpp
diff options
context:
space:
mode:
authorPaul Cristian Sarbu <paul.cristian.sarbu@huawei.com>2024-07-22 16:44:49 +0200
committerPaul Cristian Sarbu <paul.cristian.sarbu@huawei.com>2024-07-23 10:24:39 +0200
commitec5e4b0290edff5d9589898493cd7d08f3fb5cd3 (patch)
tree23179bc88ee1fa5c6289e33869d88900d0be284a /src/other_tools/just_mr/fetch.cpp
parent9c9175b8658cade244272464ede3c21be34df172 (diff)
downloadjustbuild-ec5e4b0290edff5d9589898493cd7d08f3fb5cd3.tar.gz
just-mr: Use progress instance in setup maps
...instead of using the singleton.
Diffstat (limited to 'src/other_tools/just_mr/fetch.cpp')
-rw-r--r--src/other_tools/just_mr/fetch.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/other_tools/just_mr/fetch.cpp b/src/other_tools/just_mr/fetch.cpp
index 328f0d74..2e4346da 100644
--- a/src/other_tools/just_mr/fetch.cpp
+++ b/src/other_tools/just_mr/fetch.cpp
@@ -487,6 +487,7 @@ auto MultiRepoFetch(std::shared_ptr<Configuration> const& config,
&storage,
&(*apis.local),
has_remote_api ? &*apis.remote : nullptr,
+ &JustMRProgress::Instance(),
common_args.jobs);
auto archive_fetch_map = CreateArchiveFetchMap(
@@ -515,6 +516,7 @@ auto MultiRepoFetch(std::shared_ptr<Configuration> const& config,
&(*apis.local),
has_remote_api ? &*apis.remote : nullptr,
fetch_args.backup_to_remote,
+ &JustMRProgress::Instance(),
common_args.jobs);
// set up progress observer