modified comments

This commit is contained in:
Naresh Kumar Amrutham 2018-09-10 10:57:56 -07:00
parent 22069c5d27
commit 2242e4cd0a
2 changed files with 3 additions and 5 deletions

View File

@ -36,13 +36,11 @@ type MockELBV2 struct {
type loadBalancer struct { type loadBalancer struct {
description elbv2.LoadBalancer description elbv2.LoadBalancer
//attributes elbv2.LoadBalancerAttribute
tags map[string]string tags map[string]string
} }
type targetGroup struct { type targetGroup struct {
description elbv2.TargetGroup description elbv2.TargetGroup
//attributes elbv2.LoadBalancerAttribute
tags map[string]string tags map[string]string
} }

View File

@ -1553,7 +1553,7 @@ func DescribeELBV2s(cloud fi.Cloud) ([]*elbv2.LoadBalancer, map[string][]*elbv2.
glog.V(2).Infof("Listing all NLBs and ALBs") glog.V(2).Infof("Listing all NLBs and ALBs")
request := &elbv2.DescribeLoadBalancersInput{} request := &elbv2.DescribeLoadBalancersInput{}
// ELB DescribeTags has a limit of 20 names, so we set the page size here to 20 also // ELBV2 DescribeTags has a limit of 20 names, so we set the page size here to 20 also
request.PageSize = aws.Int64(20) request.PageSize = aws.Int64(20)
var elbv2s []*elbv2.LoadBalancer var elbv2s []*elbv2.LoadBalancer