Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(floating-ip): list command only returns first 50 entries #574

Merged
merged 1 commit into from
Oct 19, 2023

Conversation

phm07
Copy link
Contributor

@phm07 phm07 commented Oct 19, 2023

On the FloatingIPClient List was used instead of AllWithOpts, which resulted in "list" only returning the first 50 entries. (Same as #415)

On the FloatingIPClient List was used instead of AllWithOpts, which resulted in "list" only returning the first 50 entries.
@phm07 phm07 added the bug label Oct 19, 2023
@phm07 phm07 self-assigned this Oct 19, 2023
@phm07 phm07 requested a review from a team as a code owner October 19, 2023 16:03
@apricote apricote merged commit f3fa881 into main Oct 19, 2023
3 checks passed
@apricote apricote deleted the fix-floatingip-list branch October 19, 2023 16:05
phm07 pushed a commit that referenced this pull request Oct 25, 2023
🤖 I have created a release *beep* *boop*
---


##
[1.39.0](v1.38.3...v1.39.0)
(2023-10-25)


### Features

* add --enable-protection flag to "create" commands
([#567](#567))
([e313e69](e313e69))
* add "all list" command to list all resources in the project
([6d3b064](6d3b064))
* **iso:** allow to filter list by type (public, private)
([#573](#573))
([140cbc3](140cbc3))
* **primary-ip:** enable/disable-protection accept levels as arguments
([#564](#564))
([b11e223](b11e223))
* **server:** add --enable-backup flag to "create" command
([#568](#568))
([15adee0](15adee0))
* **server:** add --wait flag to "shutdown" command
([#569](#569))
([3ce048c](3ce048c))


### Bug Fixes

* **floating-ip:** list command only returns first 50 entries
([#574](#574))
([f3fa881](f3fa881))
* **image:** list does not parse "type" flag correctly
([#578](#578))
([9a0487a](9a0487a))
* list outputs null instead of empty array when listing in JSON
([#579](#579))
([93bed7e](93bed7e))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).
phm07 added a commit that referenced this pull request Oct 31, 2023
The list commands for datacenters, load balancer types, locations and server types used List() instead of AllWithOpts() to fetch resources. List() only returns a single page of resources at a time (50 entries in this case), while AllWithOpts() returns all of them. This does not make a difference at the moment, but could be a problem in the future.

Similar to #574
phm07 added a commit that referenced this pull request Oct 31, 2023
The list commands for datacenters, load balancer types, locations and
server types uses ``List()`` instead of ``AllWithOpts()`` to fetch
resources. ``List()`` only returns a single page of resources at a time
(50 entries in this case), while ``AllWithOpts()`` returns all of them.
This does not make a difference at the moment, but could be a problem in
the future.

Similar to #574
phm07 added a commit that referenced this pull request Oct 31, 2023
The list commands for datacenters, load balancer types, locations and
server types uses ``List()`` instead of ``AllWithOpts()`` to fetch
resources. ``List()`` only returns a single page of resources at a time
(50 entries in this case), while ``AllWithOpts()`` returns all of them.
This does not make a difference at the moment, but could be a problem in
the future.

Similar to #574
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants