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

Implement logic for disabled groups #5295

Merged
merged 1 commit into from
Oct 3, 2017

Conversation

simitt
Copy link
Contributor

@simitt simitt commented Oct 3, 2017

If a group is set to enabled: false to not add it or fields within its namespace to the kibana index pattern.

@simitt simitt added the review label Oct 3, 2017
@simitt simitt requested a review from ruflin October 3, 2017 06:28
{
commonFields: common.Fields{
common.Field{Name: "enabledField"},
common.Field{Name: "disabledField", Enabled: &falsy}, //enabled is ignored for Type!=group
Copy link
Contributor

Choose a reason for hiding this comment

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

Makes sense. I wonder if for this case we should even return an error as we already know it's false? Or is this only for Kibana?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

This is only for kibana

Copy link
Contributor

@ruflin ruflin left a comment

Choose a reason for hiding this comment

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

WFG

@simitt
Copy link
Contributor Author

simitt commented Oct 3, 2017

failing error on travis looks unrelated

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

Successfully merging this pull request may close these issues.

2 participants