Skip to content

Encapsulate Client as class variable for PolicyStepsRegistry #33529

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conversation

dakrone
Copy link
Member

@dakrone dakrone commented Sep 7, 2018

Rather than pass in the client on the update step, this makes it passed in to
the constructor so it's not required on every update.

Rather than pass in the client on the `update` step, this makes it passed in to
the constructor so it's not required on every update.
@dakrone dakrone added the :Data Management/ILM+SLM Index and Snapshot lifecycle management label Sep 7, 2018
@dakrone dakrone requested review from colings86 and talevy September 7, 2018 18:35
@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-core-infra

Copy link
Contributor

@talevy talevy left a comment

Choose a reason for hiding this comment

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

LGTM

@dakrone dakrone requested a review from gwbrown September 7, 2018 19:10
@dakrone
Copy link
Member Author

dakrone commented Sep 7, 2018

run the java11 tests please

Copy link
Contributor

@colings86 colings86 left a comment

Choose a reason for hiding this comment

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

LGTM

@dakrone dakrone merged commit 8fa8dea into elastic:index-lifecycle Sep 7, 2018
dakrone added a commit that referenced this pull request Sep 7, 2018
Rather than pass in the client on the `update` step, this makes it passed in to
the constructor so it's not required on every update.
@dakrone dakrone deleted the ilm-policy-steps-registry-gets-client branch February 4, 2019 14:45
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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants