bin/riemann-consul in riemann-tools-0.2.11 vs bin/riemann-consul in riemann-tools-0.2.13

- old
+ new

@@ -46,11 +46,11 @@ Net::HTTP.get_response(url).body end def tick - leader = get(@consul_leader_url) - leader_hostname = URI.parse("http://" + leader[1..-2]).hostname + leader = JSON.parse(get(@consul_leader_url)) + leader_hostname = URI.parse("http://" + leader).hostname if (leader_hostname == @underlying_ip) nodes = JSON.parse(get(@consul_nodes_url)) services = JSON.parse(get(@consul_services_url)) services_by_nodes = Hash.new