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

Fix Parser plugin template for fluent-plugin-generate #2026

Merged
merged 1 commit into from
Jun 25, 2018

Conversation

hana-da
Copy link
Contributor

@hana-da hana-da commented Jun 21, 2018

In Parser plugin template for fluent-plugin-generate, parse method definition is in Fluent::Plugin module.
I think it should be in Fluent::Plugin::<class_name> class.


def parse(text)
yield time, record
def parse(text)
Copy link
Contributor

Choose a reason for hiding this comment

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

👍

@cosmo0920 cosmo0920 requested a review from okkez June 21, 2018 09:18
@repeatedly
Copy link
Member

LGTM

Copy link
Contributor

@okkez okkez left a comment

Choose a reason for hiding this comment

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

LGTM

@repeatedly repeatedly merged commit e888474 into fluent:master Jun 25, 2018
@repeatedly
Copy link
Member

Thanks!

@hana-da hana-da deleted the fix_parser_plugin_template branch June 25, 2018 04:05
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.

4 participants