Skip to content

Commit

Permalink
Move BWC versin to 5.5 after backport
Browse files Browse the repository at this point in the history
Relates to #24678
  • Loading branch information
s1monw committed May 16, 2017
1 parent 25dd644 commit 11ea588
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ public void readFrom(StreamInput in) throws IOException {
retryable = in.readBoolean();
disableStatePersistence = in.readBoolean();
status = RestStatus.readFrom(in);
if (in.getVersion().onOrAfter(Version.V_6_0_0_alpha1_UNRELEASED)) {
if (in.getVersion().onOrAfter(Version.V_5_5_0_UNRELEASED)) {
allowReleaseResources = in.readBoolean();
} else {
allowReleaseResources = false;
Expand All @@ -156,7 +156,7 @@ public void writeTo(StreamOutput out) throws IOException {
out.writeBoolean(retryable);
out.writeBoolean(disableStatePersistence);
RestStatus.writeTo(out, status);
if (out.getVersion().onOrAfter(Version.V_6_0_0_alpha1_UNRELEASED)) {
if (out.getVersion().onOrAfter(Version.V_5_5_0_UNRELEASED)) {
out.writeBoolean(allowReleaseResources);
}
}
Expand Down

0 comments on commit 11ea588

Please sign in to comment.