mirror of https://github.com/kubernetes/kops.git
modified comments
This commit is contained in:
parent
22069c5d27
commit
2242e4cd0a
|
|
@ -36,14 +36,12 @@ type MockELBV2 struct {
|
|||
|
||||
type loadBalancer struct {
|
||||
description elbv2.LoadBalancer
|
||||
//attributes elbv2.LoadBalancerAttribute
|
||||
tags map[string]string
|
||||
tags map[string]string
|
||||
}
|
||||
|
||||
type targetGroup struct {
|
||||
description elbv2.TargetGroup
|
||||
//attributes elbv2.LoadBalancerAttribute
|
||||
tags map[string]string
|
||||
tags map[string]string
|
||||
}
|
||||
|
||||
func (m *MockELBV2) DescribeLoadBalancers(request *elbv2.DescribeLoadBalancersInput) (*elbv2.DescribeLoadBalancersOutput, error) {
|
||||
|
|
|
|||
|
|
@ -1553,7 +1553,7 @@ func DescribeELBV2s(cloud fi.Cloud) ([]*elbv2.LoadBalancer, map[string][]*elbv2.
|
|||
glog.V(2).Infof("Listing all NLBs and ALBs")
|
||||
|
||||
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)
|
||||
|
||||
var elbv2s []*elbv2.LoadBalancer
|
||||
|
|
|
|||
Loading…
Reference in New Issue