Skip to content

Conversation

@dkoneill
Copy link

@dkoneill dkoneill commented Nov 7, 2019

This is a proposed fix for Issue #74 in which the a breaking change in ES 7.0 modified the structure of the object containing the number of hits.

This change requests and stores the ES info object which is later used by the packaging.version() routine to make a choice on how to retrieve the number of hits from the ES query. This enables backwards compatibility with ES instances older than 7.0.

@sushantkumr
Copy link

Verified this fix. It works on my end. Thank you @dkoneill

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants