lib/elasticsearch/transport/transport/http/faraday.rb in elasticsearch-transport-7.0.0 vs lib/elasticsearch/transport/transport/http/faraday.rb in elasticsearch-transport-7.1.0
- old
+ new
@@ -49,10 +49,10 @@
# Builds and returns a connection
#
# @return [Connections::Connection]
#
def __build_connection(host, options={}, block=nil)
- client = ::Faraday::Connection.new(__full_url(host), options, &block)
+ client = ::Faraday.new(__full_url(host), options, &block)
Connections::Connection.new :host => host, :connection => client
end
# Returns an array of implementation specific connection errors.
#