Skip to content

Commit 54f916f

Browse files
Jon Dalbergestolfo
authored andcommitted
Support Faraday default_connection_options
1 parent bb44b3b commit 54f916f

File tree

1 file changed

+1
-1
lines changed
  • elasticsearch-transport/lib/elasticsearch/transport/transport/http

1 file changed

+1
-1
lines changed

elasticsearch-transport/lib/elasticsearch/transport/transport/http/faraday.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ def perform_request(method, path, params={}, body=nil, headers=nil)
5151
# @return [Connections::Connection]
5252
#
5353
def __build_connection(host, options={}, block=nil)
54-
client = ::Faraday::Connection.new(__full_url(host), options, &block)
54+
client = ::Faraday.new(__full_url(host), options, &block)
5555
Connections::Connection.new :host => host, :connection => client
5656
end
5757

0 commit comments

Comments
 (0)