Browse Source

Remove inaccessible code from TCompatibilityInfo::CheckCompatibility, #1208 (#1209)

Sergey Belyakov 1 year ago
parent
commit
dcfc637986
1 changed files with 0 additions and 4 deletions
  1. 0 4
      ydb/core/driver_lib/version/version.cpp

+ 0 - 4
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 {