Skip to content

Commit

Permalink
fix(floating-ip): list command only returns first 50 entries
Browse files Browse the repository at this point in the history
On the FloatingIPClient List was used instead of AllWithOpts, which resulted in "list" only returning the first 50 entries.
  • Loading branch information
phm07 committed Oct 19, 2023
1 parent 15fa95e commit d096092
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/cmd/floatingip/list.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ var ListCmd = base.ListCmd{
if len(sorts) > 0 {
opts.Sort = sorts
}
floatingIPs, _, err := client.FloatingIP().List(ctx, opts)
floatingIPs, err := client.FloatingIP().AllWithOpts(ctx, opts)

var resources []interface{}
for _, n := range floatingIPs {
Expand Down

0 comments on commit d096092

Please sign in to comment.