Skip to content

HLRC: Update Delete Role to use Optional #35470

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

Closed
wants to merge 2 commits into from

Conversation

hub-cap
Copy link
Contributor

@hub-cap hub-cap commented Nov 12, 2018

Remove the old boolean found logic in DeleteRoleResponse and use
Optional instead as the return type.

Remove the old boolean found logic in DeleteRoleResponse and use
Optional instead as the return type.
@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-core-infra

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.

Response test does not provide anything new. LGTM

@hub-cap
Copy link
Contributor Author

hub-cap commented Nov 26, 2018

Im closing this as a delete should not use optional, but instead throw up if its not found.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants