diff options
Diffstat (limited to 'src/other_tools/just_mr')
-rw-r--r-- | src/other_tools/just_mr/fetch.cpp | 3 | ||||
-rw-r--r-- | src/other_tools/just_mr/setup.cpp | 3 |
2 files changed, 2 insertions, 4 deletions
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<Configuration> const& config, std::optional<LockFile> 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) { diff --git a/src/other_tools/just_mr/setup.cpp b/src/other_tools/just_mr/setup.cpp index 3247b06d..55aa328b 100644 --- a/src/other_tools/just_mr/setup.cpp +++ b/src/other_tools/just_mr/setup.cpp @@ -166,8 +166,7 @@ auto MultiRepoSetup(std::shared_ptr<Configuration> const& config, std::optional<LockFile> 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) { |