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

Propagate default value change from subclass of compat plugins #999

Merged
merged 3 commits into from
May 29, 2016

Conversation

tagomoris
Copy link
Member

3rd party plugins with v0.12 APIs may change default values of parameters, which is controlled by compat layers. This change should be propagated to defaults of <buffer> section.
This change fixes #995.


CONFIGURABLE_CLASS_METHODS.instance_method(:config_section).bind(self).call(:buffer) do
self.config_set_default newer, defval
p(name: name, newer: newer, defval: defval, defaults: self.defaults)
Copy link
Member

Choose a reason for hiding this comment

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

What does this p?

Copy link
Member Author

Choose a reason for hiding this comment

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

Ahhhhhhh

Copy link
Member Author

Choose a reason for hiding this comment

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

pushed a commit to remove these debug print.

@tagomoris tagomoris merged commit 52479fb into master May 29, 2016
@tagomoris tagomoris deleted the webhdfs-configure-raise-error branch June 2, 2016 09:29
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.

fluent-plugin-webhdfs fails test with fluentd v0.14.0.rc.3
2 participants