aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSergey Belyakov <serg-belyakov@ydb.tech>2024-01-23 13:04:50 +0300
committerGitHub <noreply@github.com>2024-01-23 13:04:50 +0300
commitdcfc637986c312f545e900bcc9f1ff7869324505 (patch)
tree1fdcbd85d509e86360e6af5ff72f3efb83f3b552
parent8797869d3ac5754499b3a95170a0a8d32d35dc6c (diff)
downloadydb-dcfc637986c312f545e900bcc9f1ff7869324505.tar.gz
Remove inaccessible code from TCompatibilityInfo::CheckCompatibility, #1208 (#1209)
-rw-r--r--ydb/core/driver_lib/version/version.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/ydb/core/driver_lib/version/version.cpp b/ydb/core/driver_lib/version/version.cpp
index 72f38fac61..4781640d03 100644
--- a/ydb/core/driver_lib/version/version.cpp
+++ b/ydb/core/driver_lib/version/version.cpp
@@ -648,10 +648,6 @@ bool TCompatibilityInfo::CheckCompatibility(const TCurrent* current, const TOldF
+ PrintStoredAndCurrent(peer, current);
return false;
}
-
- errorReason = "Peer version tag doesn't match any current compatibility rule, current version is not in accepted tags list, "
- + PrintStoredAndCurrent(peer, current);
- return false;
}
bool TCompatibilityInfo::CheckCompatibility(const TOldFormat& peer, TComponentId componentId, TString& errorReason) const {