aws 2.1.3 → 2.1.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/lib/ec2/right_mon_interface.rb +0 -2
- data/lib/elb/right_elb_interface.rb +4 -5
- metadata +1 -1
@@ -147,8 +147,6 @@ module Aws
|
|
147
147
|
#params['CustomUnit'] = customUnit always nil
|
148
148
|
params['Namespace'] = namespace
|
149
149
|
|
150
|
-
@logger.info("get Metric Statistics ")
|
151
|
-
|
152
150
|
link = generate_request("GetMetricStatistics", params)
|
153
151
|
resp = request_info(link, QMonGetMetricStatistics.new(:logger => @logger))
|
154
152
|
|
@@ -152,7 +152,7 @@ module Aws
|
|
152
152
|
class QElbCreateParser < AwsParser
|
153
153
|
|
154
154
|
def reset
|
155
|
-
@result =
|
155
|
+
@result = {}
|
156
156
|
end
|
157
157
|
|
158
158
|
|
@@ -188,8 +188,7 @@ module Aws
|
|
188
188
|
case name
|
189
189
|
when 'LoadBalancerName' then
|
190
190
|
@member[:load_balancer_name] = @text
|
191
|
-
|
192
|
-
# @result[:availability_zones] = @text
|
191
|
+
@member[:name] = @text
|
193
192
|
when 'CreatedTime' then
|
194
193
|
@member[:created_time] = Time.parse(@text)
|
195
194
|
when 'DNSName' then
|
@@ -203,9 +202,9 @@ module Aws
|
|
203
202
|
@listener[:instance_port] = @text.to_i
|
204
203
|
# HEALTH CHECK STUFF
|
205
204
|
when 'Interval' then
|
206
|
-
|
205
|
+
@member[:health_check][:interval] = @text.to_i
|
207
206
|
when 'Target' then
|
208
|
-
|
207
|
+
@member[:health_check][:target] = @text
|
209
208
|
when 'HealthyThreshold' then
|
210
209
|
@member[:health_check][:healthy_threshold] = @text.to_i
|
211
210
|
when 'Timeout' then
|