From f3fa8815dbec92d3f770dd2c441021aed5ce386b Mon Sep 17 00:00:00 2001 From: pauhull Date: Thu, 19 Oct 2023 18:05:25 +0200 Subject: [PATCH] fix(floating-ip): list command only returns first 50 entries (#574) On the FloatingIPClient List was used instead of AllWithOpts, which resulted in "list" only returning the first 50 entries. (Same as #415) --- internal/cmd/floatingip/list.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/cmd/floatingip/list.go b/internal/cmd/floatingip/list.go index de00ab6f..60c7c71f 100644 --- a/internal/cmd/floatingip/list.go +++ b/internal/cmd/floatingip/list.go @@ -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 {