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

Added action.destructive_requires_name that controls whether wildcard expressions are allowed for destructive operations. #4622

Conversation

martijnvg
Copy link
Member

Added action.destructive_requires_name that controls whether wildcard expressions and _all is allowed to be used for destructive operations. Also the delete index api requires always an index to be specified (either concrete index, alias or wildcard expression)

Relates to #4549 #4481

…rd expressions and `_all` is allowed to be used for destructive operat

Also the delete index api requires always an index to be specified (either concrete index, alias or wildcard expression)

Closes elastic#4549 elastic#4481
@javanna
Copy link
Member

javanna commented Jan 9, 2014

Looks good!

@s1monw
Copy link
Contributor

s1monw commented Jan 9, 2014

ah damned I commented on the commit not on the PR @martijnvg can you check? :)

@martijnvg
Copy link
Member Author

@s1monw I checked and I turned the DestructiveOperations into a statefull helper class!

@s1monw
Copy link
Contributor

s1monw commented Jan 9, 2014

LGTM thanks @martijnvg

@martijnvg
Copy link
Member Author

Pushed to master: eb63bb2

Thanks for the review @s1monw

@martijnvg martijnvg closed this Jan 9, 2014
@martijnvg martijnvg deleted the api-cleanup/disable-destructive-operatios-on-all-indices branch May 18, 2015 23:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants