From 9f5dcef077a3db2f6c791e403e5036f6464c9576 Mon Sep 17 00:00:00 2001 From: Maksim Denisov Date: Thu, 27 Jun 2024 13:27:06 +0200 Subject: Pass StorageConfig and Storage to LocalApi --- src/other_tools/just_mr/fetch.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/other_tools/just_mr/fetch.cpp') 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 const& config, return kExitConfigError; } - ApiBundle const apis{/*repo_config=*/nullptr, + ApiBundle const apis{&StorageConfig::Instance(), + &Storage::Instance(), + /*repo_config=*/nullptr, &*auth_config, RemoteExecutionConfig::RemoteAddress()}; -- cgit v1.2.3