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

Adding method to deregister a (child) section #7586

Merged

Conversation

ycombinator
Copy link
Contributor

This PR introduces the capability for deregistering a management section + unit tests for it.

@tylersmalley
Copy link
Contributor

Is there a reason you would like to throw an exception if the section doesn't exist?

@ycombinator
Copy link
Contributor Author

Is there a reason you would like to throw an exception if the section doesn't exist?

No functional reason. Just keeping it consistent with registering a section. I'm equally comfortable removing that piece of code.

@tylersmalley
Copy link
Contributor

Ok - I vote for removing the exception as there is no harm in attempting to un-register a section which does not exist.

@tylersmalley
Copy link
Contributor

LGTM

@ycombinator ycombinator merged commit ce9efff into elastic:master Jun 29, 2016
@ycombinator ycombinator deleted the management/add-deregister-method branch June 29, 2016 23:16
@epixa epixa added v5.0.0 and removed v5.0.0 labels Aug 1, 2016
airow pushed a commit to airow/kibana that referenced this pull request Feb 16, 2017
…ister-method

Adding method to deregister a (child) section

Former-commit-id: ce9efff
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.

3 participants