Skip to content

Commit

Permalink
update bwc logic for 8.17
Browse files Browse the repository at this point in the history
  • Loading branch information
martijnvg committed Nov 28, 2024
1 parent 86dc1dc commit 5597409
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -284,8 +284,7 @@ public void writeTo(StreamOutput out) throws IOException {
}

private static boolean canReadOrWriteSourceModeTelemetry(TransportVersion version) {
return version.isPatchFrom(TransportVersions.SOURCE_MODE_TELEMETRY_FIX_8_17)
|| version.onOrAfter(TransportVersions.SOURCE_MODE_TELEMETRY);
return version.onOrAfter(TransportVersions.SOURCE_MODE_TELEMETRY_FIX_8_17);
}

private static OptionalLong ofNullable(Long l) {
Expand Down

0 comments on commit 5597409

Please sign in to comment.