Skip to content

Commit

Permalink
chore(golangci-lint): fix violations
Browse files Browse the repository at this point in the history
  • Loading branch information
ekristen committed Mar 14, 2024
1 parent 4bf7b3c commit 4dd7729
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions resources/elbv2-listenerrule.go
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,8 @@ func (l *ELBv2ListenerRuleLister) List(_ context.Context, o interface{}) ([]reso
err := svc.DescribeLoadBalancersPages(
nil,
func(page *elbv2.DescribeLoadBalancersOutput, lastPage bool) bool {
for _, elbv2lb := range page.LoadBalancers {
lbs = append(lbs, elbv2lb)
}
lbs = append(lbs, page.LoadBalancers...)

return !lastPage
},
)
Expand Down

0 comments on commit 4dd7729

Please sign in to comment.