summaryrefslogtreecommitdiff
path: root/src/other_tools/just_mr/fetch.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/other_tools/just_mr/fetch.cpp')
-rw-r--r--src/other_tools/just_mr/fetch.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/other_tools/just_mr/fetch.cpp b/src/other_tools/just_mr/fetch.cpp
index 0f0a0ef1..0aab2549 100644
--- a/src/other_tools/just_mr/fetch.cpp
+++ b/src/other_tools/just_mr/fetch.cpp
@@ -398,7 +398,7 @@ auto MultiRepoFetch(std::shared_ptr<Configuration> const& config,
common_args.remote_serve_address,
auth_args);
IExecutionApi::Ptr local_api{std::make_unique<LocalApi>()};
- bool remote_compatible{common_args.compatible == true};
+ bool remote_compatible{common_args.compatible};
// setup the API for serving roots
auto serve_config = JustMR::Utils::CreateServeConfig(
@@ -425,7 +425,7 @@ auto MultiRepoFetch(std::shared_ptr<Configuration> const& config,
"serve endpoint failed. Serve endpoint ignored.");
serve = std::nullopt;
}
- if (*compatible != remote_compatible) {
+ if (*compatible != common_args.compatible) {
Logger::Log(
LogLevel::Warning,
"Provided serve endpoint operates in a different compatibility "