Skip to content

Commit

Permalink
Remove unnecessary input.setVersion line
Browse files Browse the repository at this point in the history
Co-authored-by: Andrew Ross <[email protected]>
Signed-off-by: Aman Khare <[email protected]>
  • Loading branch information
amkhar and andrross authored Jun 6, 2023
1 parent ad2bdcc commit 5605928
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,6 @@ private void handleCompressedValidateJoinRequest(
BytesTransportRequest request
) throws IOException {
try (StreamInput input = CompressedStreamUtils.decompressBytes(request, namedWriteableRegistry)) {
input.setVersion(request.version());
ClusterState incomingState = ClusterState.readFrom(input, transportService.getLocalNode());
runJoinValidators(currentStateSupplier, incomingState, joinValidators);
}
Expand Down

0 comments on commit 5605928

Please sign in to comment.