File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/action Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff 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 );
You can’t perform that action at this time.
0 commit comments