Skip to content

Commit 77267ad

Browse files
authored
Change supported version in serialization code to 7.4.0 after backport (#45828)
1 parent a66170a commit 77267ad

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/action/EvaluateDataFrameAction.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ public Request() {}
9393
public Request(StreamInput in) throws IOException {
9494
super(in);
9595
indices = in.readStringArray();
96-
if (in.getVersion().onOrAfter(Version.CURRENT)) {
96+
if (in.getVersion().onOrAfter(Version.V_7_4_0)) {
9797
if (in.readBoolean()) {
9898
queryProvider = QueryProvider.fromStream(in);
9999
}
@@ -138,7 +138,7 @@ public ActionRequestValidationException validate() {
138138
public void writeTo(StreamOutput out) throws IOException {
139139
super.writeTo(out);
140140
out.writeStringArray(indices);
141-
if (out.getVersion().onOrAfter(Version.CURRENT)) {
141+
if (out.getVersion().onOrAfter(Version.V_7_4_0)) {
142142
if (queryProvider != null) {
143143
out.writeBoolean(true);
144144
queryProvider.writeTo(out);

0 commit comments

Comments
 (0)