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

Use Fluent::Plugin::Filter instead Fluent::Filter to cover all filter classes #1118

Merged
merged 1 commit into from
Jul 20, 2016

Conversation

repeatedly
Copy link
Member

is_a?(Filter) can't detect Fluent::Plugin::Filter and it causes non compat filter is registered as a Output plugin.

I changed test filter classes for testing this case but I'm not sure this is good or not...

@repeatedly
Copy link
Member Author

Currently, record_transformer doesn't work ;p

@tagomoris
Copy link
Member

I cannot understand why changes on tests are needed. Could you explain it?

@repeatedly
Copy link
Member Author

Because current test doesn't check Fluent::Plugin::Filter case.
So I added Fluent::Plugin::Filter and Fluent::Filter case to Pipeline test.

@tagomoris
Copy link
Member

I got it.
LGTM.

@repeatedly repeatedly merged commit dd489db into master Jul 20, 2016
@repeatedly repeatedly deleted the fix-filter-detection-in-pipeline branch July 20, 2016 13:53
@tagomoris tagomoris mentioned this pull request Jul 28, 2016
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.

2 participants