From 972bc9108bc52ade30505ae32b38d663ab02b220 Mon Sep 17 00:00:00 2001 From: Maksim Denisov Date: Fri, 20 Dec 2024 16:57:21 +0100 Subject: Implement rebuilding of StorageConfig --- src/other_tools/just_mr/fetch.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (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 ab56db41..307f3aaa 100644 --- a/src/other_tools/just_mr/fetch.cpp +++ b/src/other_tools/just_mr/fetch.cpp @@ -358,8 +358,7 @@ auto MultiRepoFetch(std::shared_ptr const& config, std::optional compat_lock = std::nullopt; IExecutionApi::Ptr compat_local_api = nullptr; if (common_args.compatible) { - auto config = StorageConfig::Builder{} - .SetBuildRoot(native_storage_config.build_root) + auto config = StorageConfig::Builder::Rebuild(native_storage_config) .SetHashType(HashFunction::Type::PlainSHA256) .Build(); if (not config) { -- cgit v1.2.3