diff options
author | Maksim Denisov <denisov.maksim@huawei.com> | 2024-06-27 13:27:06 +0200 |
---|---|---|
committer | Maksim Denisov <denisov.maksim@huawei.com> | 2024-07-05 13:32:39 +0200 |
commit | 9f5dcef077a3db2f6c791e403e5036f6464c9576 (patch) | |
tree | 5e14f016207af83a8d0458a7ffe960ecba56280d /src/other_tools/just_mr/fetch.cpp | |
parent | 0d8a4ad15b93283cc31787b039051b9e9a285ba8 (diff) | |
download | justbuild-9f5dcef077a3db2f6c791e403e5036f6464c9576.tar.gz |
Pass StorageConfig and Storage to LocalApi
Diffstat (limited to 'src/other_tools/just_mr/fetch.cpp')
-rw-r--r-- | src/other_tools/just_mr/fetch.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/other_tools/just_mr/fetch.cpp b/src/other_tools/just_mr/fetch.cpp index 0e2d3e60..edd38652 100644 --- a/src/other_tools/just_mr/fetch.cpp +++ b/src/other_tools/just_mr/fetch.cpp @@ -28,6 +28,7 @@ #include "src/buildtool/multithreading/task_system.hpp" #include "src/buildtool/serve_api/remote/config.hpp" #include "src/buildtool/serve_api/remote/serve_api.hpp" +#include "src/buildtool/storage/config.hpp" #include "src/buildtool/storage/storage.hpp" #include "src/other_tools/just_mr/exit_codes.hpp" #include "src/other_tools/just_mr/progress_reporting/progress.hpp" @@ -404,7 +405,9 @@ auto MultiRepoFetch(std::shared_ptr<Configuration> const& config, return kExitConfigError; } - ApiBundle const apis{/*repo_config=*/nullptr, + ApiBundle const apis{&StorageConfig::Instance(), + &Storage::Instance(), + /*repo_config=*/nullptr, &*auth_config, RemoteExecutionConfig::RemoteAddress()}; |