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:
Peter Rifel 2021-02-07 10:46:44 -06:00
parent e7ede2b13e
commit 0ef3f5a12c
No known key found for this signature in database
GPG Key ID: BC6469E5B16DB2B6
1 changed files with 1 additions and 1 deletions

View File

@ -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