lib/gaptool-server/app.rb in gaptool-server-0.1.0 vs lib/gaptool-server/app.rb in gaptool-server-0.1.1

- old
+ new

@@ -76,9 +76,10 @@ @totalcap = 0 @volume = 0 @redis.keys("host:#{role}:#{environment}:*").each do |host| @available << { :hostname => @redis.hget(host, 'hostname'), + :instance => @redis.hget(host, 'instance'), :capacity => @redis.hget(host, 'capacity').to_i, } @totalcap = @totalcap + @redis.hget(host, 'capacity').to_i end @redis.keys("service:#{role}:#{environment}:*").each do |service|