Skip to content
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

[7.x] [ML] refactor to use ByteSizeValue#of... helpers (#63768) #63802

Merged
merged 1 commit into from
Oct 16, 2020

Conversation

benwtrent
Copy link
Member

Backports the following commits to 7.x:

This is a simple find/replace with regex. 

This replaces all the `new ByteSizeValue(<value>, ByteSizeUnit.<unit)` to the correct `ByteSizeValue.of...` functions.

Its a much better abstraction and removes the need to refer to `ByteSizeUnit` all together.
@benwtrent benwtrent added :ml Machine learning backport labels Oct 16, 2020
@elasticmachine
Copy link
Collaborator

Pinging @elastic/ml-core (:ml)

@benwtrent benwtrent merged commit 1f7397f into elastic:7.x Oct 16, 2020
@benwtrent benwtrent deleted the backport/7.x/pr-63768 branch October 16, 2020 13:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport :ml Machine learning
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants