leela_client 1.0.0 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/leela_client/transport.rb +1 -1
- data/lib/leela_client/version.rb +2 -2
- metadata +1 -1
@@ -47,7 +47,7 @@ module LeelaClient
|
|
47
47
|
def send(metrics)
|
48
48
|
sent = 0
|
49
49
|
proto = @opts[:ssl] ? "https" : "http"
|
50
|
-
port = @opts[:port] || (opts[:ssl] ? 443 : 80)
|
50
|
+
port = @opts[:port] || (@opts[:ssl] ? 443 : 80)
|
51
51
|
LeelaClient::LoadBalancer.group(@ring, metrics).each do |addr, ms|
|
52
52
|
ms.each do |m|
|
53
53
|
uri = URI("#{proto}://#{addr[1]}:#{port}/v1/" + ::CGI::escape(m.key))
|
data/lib/leela_client/version.rb
CHANGED