mirror of https://github.com/kubernetes/kops.git
Use LoadBalancerName field of CLB task when attaching CLBs to existing ASGs
This shouldn't have a functional change, just improving consistency with how we attach CLBs to ASGs being created
This commit is contained in:
parent
e7ede2b13e
commit
0ef3f5a12c
|
|
@ -717,7 +717,7 @@ func (e *AutoscalingGroup) AutoscalingLoadBalancers() []*string {
|
|||
var list []*string
|
||||
|
||||
for _, v := range e.LoadBalancers {
|
||||
list = append(list, v.Name)
|
||||
list = append(list, v.LoadBalancerName)
|
||||
}
|
||||
|
||||
return list
|
||||
|
|
|
|||
Loading…
Reference in New Issue