aws 2.1.3 → 2.1.4

Sign up to get free protection for your applications and to get access to all the features.
@@ -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
- # when 'AvailabilityZones' then
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
- @member[:health_check][:interval] = @text.to_i
205
+ @member[:health_check][:interval] = @text.to_i
207
206
  when 'Target' then
208
- @member[:health_check][:target] = @text
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
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.3
4
+ version: 2.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Travis Reeder