From f82adab238f4b45d43049687c8e52bf7372ba053 Mon Sep 17 00:00:00 2001 From: Maksim Denisov Date: Thu, 27 Jun 2024 12:22:09 +0200 Subject: Pass StorageConfig and Storage to Serve --- src/other_tools/just_mr/fetch.cpp | 3 ++- 1 file changed, 2 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 07a03f3d..0e2d3e60 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/storage.hpp" #include "src/other_tools/just_mr/exit_codes.hpp" #include "src/other_tools/just_mr/progress_reporting/progress.hpp" #include "src/other_tools/just_mr/progress_reporting/progress_reporter.hpp" @@ -417,7 +418,7 @@ auto MultiRepoFetch(std::shared_ptr const& config, return kExitConfigError; } - auto serve = ServeApi::Create(*serve_config, &apis); + auto serve = ServeApi::Create(*serve_config, &Storage::Instance(), &apis); // check configuration of the serve endpoint provided if (serve) { // if we have a remote endpoint explicitly given by the user, it must -- cgit v1.2.3