-
Notifications
You must be signed in to change notification settings - Fork 25.6k
Add HLRC support for delete policy api #45833
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
Add HLRC support for delete policy api #45833
Conversation
This PR also adds HLRC docs. Relates to elastic#32789
|
Pinging @elastic/es-core-features |
hub-cap
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I sure do love reviewing AcknowledgedResponse HLRC APIs :)
| @Override | ||
| public void onResponse(AcknowledgedResponse response) { // <1> | ||
| boolean isAcknowledged = | ||
| deletePolicyResponse.isAcknowledged(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this should be response not deletePolicyResponse methinks
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
good catch. I copied this from the put policy test and there the same mistake was made too :)
jbaiera
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
|
@elasticmachine run elasticsearch-ci/1 |
This PR also adds HLRC docs. Relates to #32789
This PR also adds HLRC docs.
Relates to #32789