Skip to content

Commit 6caaa7f

Browse files
Fix Broken DeleteDataStreamAction BwC Serialization (#62286)
This version was adjusted in 7.x but not in `master` causing all the BwC tests to fail.
1 parent 734cf0d commit 6caaa7f

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/action/DeleteDataStreamAction.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,14 +65,14 @@ public ActionRequestValidationException validate() {
6565
public Request(StreamInput in) throws IOException {
6666
super(in);
6767
this.names = in.readStringArray();
68-
this.wildcardExpressionsOriginallySpecified = in.getVersion().onOrAfter(Version.V_8_0_0) && in.readBoolean();
68+
this.wildcardExpressionsOriginallySpecified = in.getVersion().onOrAfter(Version.V_7_10_0) && in.readBoolean();
6969
}
7070

7171
@Override
7272
public void writeTo(StreamOutput out) throws IOException {
7373
super.writeTo(out);
7474
out.writeStringArray(names);
75-
if (out.getVersion().onOrAfter(Version.V_8_0_0)) {
75+
if (out.getVersion().onOrAfter(Version.V_7_10_0)) {
7676
out.writeBoolean(wildcardExpressionsOriginallySpecified);
7777
}
7878
}

0 commit comments

Comments
 (0)