Skip to content

Dry up Empty ActionResponse Implementations #65035

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

original-brownbear
Copy link
Member

@original-brownbear original-brownbear commented Nov 13, 2020

No need to have multiple empty action response implementations.
=> Use a single class and singleton for all of them like we do for
empty flat transport responses.

Similar to e.g. #63335

No need to have multiple empty action response implementations.
=> Use a single class and singleton for all of them like we do for
empty flat transport responses.
@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-core-infra (:Core/Infra/Core)

@elasticmachine elasticmachine added the Team:Core/Infra Meta label for core/infra team label Nov 13, 2020
@original-brownbear
Copy link
Member Author

Jenkins test this

2 similar comments
@original-brownbear
Copy link
Member Author

Jenkins test this

@original-brownbear
Copy link
Member Author

Jenkins test this

@original-brownbear
Copy link
Member Author

Jenkins run elasticsearch-ci/2

Copy link
Member

@rjernst rjernst left a comment

Choose a reason for hiding this comment

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

LGTM

@original-brownbear
Copy link
Member Author

Thanks Ryan!

@original-brownbear original-brownbear merged commit acb811e into elastic:master Nov 18, 2020
@original-brownbear original-brownbear deleted the singleton-empty-action-response branch November 18, 2020 08:50
original-brownbear added a commit to original-brownbear/elasticsearch that referenced this pull request Nov 18, 2020
No need to have multiple empty action response implementations.
=> Use a single class and singleton for all of them like we do for
empty flat transport responses.
original-brownbear added a commit that referenced this pull request Nov 18, 2020
No need to have multiple empty action response implementations.
=> Use a single class and singleton for all of them like we do for
empty flat transport responses.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
:Core/Infra/Core Core issues without another label >non-issue Team:Core/Infra Meta label for core/infra team v7.11.0 v8.0.0-alpha1
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants