We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d48f561 commit c3ec800Copy full SHA for c3ec800
elasticsearch-transport/lib/elasticsearch/transport/transport/base.rb
@@ -148,7 +148,7 @@ def __build_connections
148
Connections::Collection.new \
149
:connections => hosts.map { |host|
150
host[:protocol] = host[:scheme] || options[:scheme] || options[:http][:scheme] || DEFAULT_PROTOCOL
151
- host[:port] ||= options[:port] || options[:http][:port] || DEFAULT_PORT unless options[:cloud_id]
+ host[:port] ||= options[:port] || options[:http][:port] || DEFAULT_PORT
152
if (options[:user] || options[:http][:user]) && !host[:user]
153
host[:user] ||= options[:user] || options[:http][:user]
154
host[:password] ||= options[:password] || options[:http][:password]
0 commit comments