File tree 2 files changed +3
-3
lines changed
main/java/org/elasticsearch/action/admin/indices/close
test/java/org/elasticsearch/action/admin/indices/close
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -60,7 +60,7 @@ public void readFrom(StreamInput in) throws IOException {
60
60
if (in .getVersion ().onOrAfter (Version .V_7_2_0 )) {
61
61
readShardsAcknowledged (in );
62
62
}
63
- if (in .getVersion ().onOrAfter (Version .V_8_0_0 )) {
63
+ if (in .getVersion ().onOrAfter (Version .V_7_3_0 )) {
64
64
indices = unmodifiableList (in .readList (IndexResult ::new ));
65
65
} else {
66
66
indices = unmodifiableList (emptyList ());
@@ -73,7 +73,7 @@ public void writeTo(StreamOutput out) throws IOException {
73
73
if (out .getVersion ().onOrAfter (Version .V_7_2_0 )) {
74
74
writeShardsAcknowledged (out );
75
75
}
76
- if (out .getVersion ().onOrAfter (Version .V_8_0_0 )) {
76
+ if (out .getVersion ().onOrAfter (Version .V_7_3_0 )) {
77
77
out .writeList (indices );
78
78
}
79
79
}
Original file line number Diff line number Diff line change @@ -100,7 +100,7 @@ public void testBwcSerialization() throws Exception {
100
100
}
101
101
assertThat (deserializedResponse .isAcknowledged (), equalTo (response .isAcknowledged ()));
102
102
assertThat (deserializedResponse .isShardsAcknowledged (), equalTo (response .isShardsAcknowledged ()));
103
- if (version .onOrAfter (Version .V_8_0_0 )) {
103
+ if (version .onOrAfter (Version .V_7_3_0 )) {
104
104
assertThat (deserializedResponse .getIndices (), hasSize (response .getIndices ().size ()));
105
105
} else {
106
106
assertThat (deserializedResponse .getIndices (), empty ());
You can’t perform that action at this time.
0 commit comments