Skip to content

Commit aaf6e34

Browse files
committed
Remove inaccessible code from TCompatibilityInfo::CheckCompatibility, #1208
1 parent 59c0776 commit aaf6e34

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

ydb/core/driver_lib/version/version.cpp

-4
Original file line numberDiff line numberDiff line change
@@ -648,10 +648,6 @@ bool TCompatibilityInfo::CheckCompatibility(const TCurrent* current, const TOldF
648648
+ PrintStoredAndCurrent(peer, current);
649649
return false;
650650
}
651-
652-
errorReason = "Peer version tag doesn't match any current compatibility rule, current version is not in accepted tags list, "
653-
+ PrintStoredAndCurrent(peer, current);
654-
return false;
655651
}
656652

657653
bool TCompatibilityInfo::CheckCompatibility(const TOldFormat& peer, TComponentId componentId, TString& errorReason) const {

0 commit comments

Comments
 (0)