Skip to content

Conversation

@javanna
Copy link
Member

@javanna javanna commented Apr 20, 2023

It simplifies things if we can just use an array to hold the children collectors in InternalProfileCollector, and adjust its constructor to take a varargs argument of collectors

It simplifies things if we can just use an array to hold the children
collectors in InternalProfileCollector, and adjust its constructor to
take a varargs argument of collectors
@javanna javanna added :Search/Search Search-related issues that do not fall into other categories >refactoring v8.8.0 labels Apr 20, 2023
@javanna javanna requested a review from iverase April 20, 2023 18:44
@elasticsearchmachine elasticsearchmachine added the Team:Search Meta label for search team label Apr 20, 2023
@elasticsearchmachine
Copy link
Collaborator

Pinging @elastic/es-search (Team:Search)

Copy link
Contributor

@iverase iverase left a comment

Choose a reason for hiding this comment

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

LGTM. Just have a small doubt on null checks but it is a nice change.

@javanna javanna merged commit 6676ba3 into elastic:main Apr 20, 2023
@javanna javanna deleted the refactoring/profile_collector_varargs branch April 20, 2023 20:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

>refactoring :Search/Search Search-related issues that do not fall into other categories Team:Search Meta label for search team v8.8.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants