Skip to content

Commit

Permalink
fix compile
Browse files Browse the repository at this point in the history
  • Loading branch information
rjernst committed Sep 6, 2023
1 parent b85234d commit 51886ee
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ public SimulateIndexTemplateResponse(StreamInput in) throws IOException {
} else {
this.overlappingTemplates = null;
}
if (in.getTransportVersion().onOrAfter(TransportVersions.V_8_500_010)) {
if (in.getTransportVersion().onOrAfter(TransportVersions.V_8_500_020)) {
rolloverConfiguration = in.readOptionalWriteable(RolloverConfiguration::new);
}
}
Expand All @@ -91,7 +91,7 @@ public void writeTo(StreamOutput out) throws IOException {
} else {
out.writeBoolean(false);
}
if (out.getTransportVersion().onOrAfter(TransportVersions.V_8_500_010)) {
if (out.getTransportVersion().onOrAfter(TransportVersions.V_8_500_020)) {
out.writeOptionalWriteable(rolloverConfiguration);
}
}
Expand Down

0 comments on commit 51886ee

Please sign in to comment.