Skip to content

Commit

Permalink
Adapt missing version after backport (bis)
Browse files Browse the repository at this point in the history
Relates #51708
  • Loading branch information
jimczi committed Feb 6, 2020
1 parent 0494bfa commit 7923833
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ public ShardSearchRequest(StreamInput in) throws IOException {
numberOfShards = in.readVInt();
scroll = in.readOptionalWriteable(Scroll::new);
source = in.readOptionalWriteable(SearchSourceBuilder::new);
if (in.getVersion().before(Version.V_7_7_0)) {
if (in.getVersion().before(Version.V_8_0_0)) {
// types no longer relevant so ignore
String[] types = in.readStringArray();
if (types.length > 0) {
Expand Down

0 comments on commit 7923833

Please sign in to comment.