Skip to content

Commit

Permalink
Merge pull request #3477 from ysam12345/fix-security-group-variable-typo
Browse files Browse the repository at this point in the history
Fix typo of securityGroups variable in model_build_load_balancer.go
  • Loading branch information
k8s-ci-robot authored Jan 25, 2024
2 parents 0323c82 + 9ed385c commit 2223921
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/service/model_build_load_balancer.go
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ func (t *defaultModelBuildTask) buildLoadBalancerSpec(ctx context.Context, schem
if err != nil {
return elbv2model.LoadBalancerSpec{}, err
}
securityGropus, err := t.buildLoadBalancerSecurityGroups(ctx, existingLB, ipAddressType)
securityGroups, err := t.buildLoadBalancerSecurityGroups(ctx, existingLB, ipAddressType)
if err != nil {
return elbv2model.LoadBalancerSpec{}, err
}
Expand All @@ -78,7 +78,7 @@ func (t *defaultModelBuildTask) buildLoadBalancerSpec(ctx context.Context, schem
Type: elbv2model.LoadBalancerTypeNetwork,
Scheme: &scheme,
IPAddressType: &ipAddressType,
SecurityGroups: securityGropus,
SecurityGroups: securityGroups,
SubnetMappings: subnetMappings,
LoadBalancerAttributes: lbAttributes,
Tags: tags,
Expand Down

0 comments on commit 2223921

Please sign in to comment.