mirror of https://github.com/kubernetes/kops.git
modified comments
This commit is contained in:
parent
22069c5d27
commit
2242e4cd0a
|
|
@ -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
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue