Skip to content

Conversation

@talevy
Copy link
Contributor

@talevy talevy commented Nov 20, 2018

Previously, it was possible to initialize a request
that does not include any indices. This results in undefined
behavior when generating the URL path to send to ES. By
enforcing indices to be defined, users will be more explicit
about the intention.

Previously, it was possible to initialize a request that does not include any indices. This results in undefined behavior when generating the URL path to send to ES. By enforcing indices to be defined, users will be more explicit about the intention.
@talevy talevy added >refactoring >non-issue :Data Management/ILM+SLM Index and Snapshot lifecycle management labels Nov 20, 2018
@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-core-features

Copy link
Contributor

@gwbrown gwbrown left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 for this change, I probably should have done this when moving off of ClusterInfoRequest. LGTM aside from a couple typos.

gwbrown and others added 2 commits November 20, 2018 13:41
…indexlifecycle/ExplainLifecycleRequestTests.java Co-Authored-By: talevy <JubBoy333@gmail.com>
…indexlifecycle/ExplainLifecycleRequest.java Co-Authored-By: talevy <JubBoy333@gmail.com>
@talevy
Copy link
Contributor Author

talevy commented Nov 20, 2018

thanks for the review @gwbrown -- definitely thought retry was the right word at the time :)

@talevy talevy merged commit 60db06e into elastic:master Nov 21, 2018
@talevy talevy deleted the ilm-explain-client branch November 21, 2018 17:38
talevy added a commit that referenced this pull request Nov 21, 2018
Previously, it was possible to initialize a request that does not include any indices. This results in undefined behavior when generating the URL path to send to ES. By enforcing indices to be defined, users will be more explicit about the intention.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

:Data Management/ILM+SLM Index and Snapshot lifecycle management >non-issue >refactoring

3 participants