lib/aws_recon/collectors/elasticloadbalancingv2.rb in aws_recon-0.2.31 vs lib/aws_recon/collectors/elasticloadbalancingv2.rb in aws_recon-0.2.32
- old
+ new
@@ -18,9 +18,11 @@
response.load_balancers.each do |elb|
struct = OpenStruct.new(elb.to_h)
struct.type = 'load_balancer'
struct.arn = elb.load_balancer_arn
+ struct.load_balancer_version = 'v2'
+ struct.load_balancer_type = elb.type
struct.listeners = []
struct.target_groups = []
# describe_load_balancer_attributes
struct.attributes = @client