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

Sanitize Elasticsearch::Client config #339

Merged
merged 1 commit into from
Feb 26, 2016
Merged

Conversation

reidab
Copy link
Contributor

@reidab reidab commented Feb 26, 2016

This avoids passing invalid config values to Elasticsearch::Client.new by stripping prefix and transport_options[proc] from the config hash.

Fixes #333

This avoids passing invalid config values to Elasticsearch::Client.new
by stripping `prefix` and `transport_options[proc]` from the config hash.

Fixes toptal#333
@pyromaniac
Copy link
Contributor

Perfect, thanks!

pyromaniac added a commit that referenced this pull request Feb 26, 2016
Sanitize Elasticsearch::Client config
@pyromaniac pyromaniac merged commit 3705036 into toptal:master Feb 26, 2016
@reidab reidab deleted the fix-333 branch February 26, 2016 14:02
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.

specifying transport_options => proc give no method found error
2 participants