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 a bug not to use plugin root directory for buffer path even if configured correctly #1417

Merged

Conversation

tagomoris
Copy link
Member

fixes #1408.

@tagomoris tagomoris added bug Something isn't working v0.14 labels Jan 11, 2017
@tagomoris tagomoris self-assigned this Jan 11, 2017
@tagomoris tagomoris requested a review from repeatedly January 11, 2017 04:53
@tagomoris
Copy link
Member Author

@repeatedly could you review this bug fix?

@@ -37,6 +37,24 @@ def create_driver(conf = CONFIG)
assert_equal :gzip, d.instance.instance_eval{ @compress_method }
end

test 'using root_dir for buffer path' do
Copy link
Member

Choose a reason for hiding this comment

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

Does test_out_file have tests for buffer_conf['path'] = conf['path'] || '/tmp/dummy_path' line?

Copy link
Member Author

Choose a reason for hiding this comment

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

It's just configuration error for config_param :path (in out_file), so it's clear that out_file raises configuration error for missing path...
But anyway, i added it.

@tagomoris
Copy link
Member Author

Can I merge this?

@repeatedly
Copy link
Member

yes

@tagomoris tagomoris merged commit 88fea22 into master Jan 11, 2017
@tagomoris tagomoris deleted the fix-not-to-use-plugin-root-dir-in-out_file-buffer-path branch January 11, 2017 11:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working v0.14
Projects
None yet
Development

Successfully merging this pull request may close these issues.

file output plugin adds a buffer path even if root_dir is enabled
2 participants