Skip to content

Commit

Permalink
Ignore one more body close error
Browse files Browse the repository at this point in the history
  • Loading branch information
optik-aper committed Jul 13, 2023
1 parent ab1370b commit 7a914b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vultr/loadbalancers.go
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,7 @@ func (l *loadbalancers) lbByName(ctx context.Context, lbName string) (*govultr.L
}

for {
lbs, meta, _, err := l.client.LoadBalancer.List(ctx, listOptions)
lbs, meta, _, err := l.client.LoadBalancer.List(ctx, listOptions) //nolint:bodyclose
if err != nil {
return nil, err
}
Expand Down

0 comments on commit 7a914b3

Please sign in to comment.