From 0068dba5e6a1fb92613a4299800d57a0e0c5dfa9 Mon Sep 17 00:00:00 2001 From: Egor Pugin Date: Sat, 20 Apr 2024 21:27:53 +0300 Subject: [PATCH] Ignore 'name' setting in comparisons. --- src/sw/client/common/sw_context.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/sw/client/common/sw_context.cpp b/src/sw/client/common/sw_context.cpp index 2b0fa844..58fe6d20 100644 --- a/src/sw/client/common/sw_context.cpp +++ b/src/sw/client/common/sw_context.cpp @@ -775,12 +775,12 @@ std::vector SwClientContext::createSettings() s["name"] = options.config_name[i]; s["name"].serializable(false); s["name"].useInHash(false); - s["name"].ignoreInComparison(false); + s["name"].ignoreInComparison(true); s["name_without_config"] = "true"; s["name_without_config"].serializable(false); s["name_without_config"].useInHash(false); - s["name_without_config"].ignoreInComparison(false); + s["name_without_config"].ignoreInComparison(true); } LOG_DEBUG(logger, "WARNING: Setting config names may result in wrong config-name pair assignment, " "because of unspecified config creation order.");