Skip to content

Commit

Permalink
Remove inaccessible code from TCompatibilityInfo::CheckCompatibility, #…
Browse files Browse the repository at this point in the history
  • Loading branch information
serbel324 authored Jan 23, 2024
1 parent 8797869 commit dcfc637
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions ydb/core/driver_lib/version/version.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit dcfc637

Please sign in to comment.