-
Notifications
You must be signed in to change notification settings - Fork 46
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
Support pagination in hardware-reservation #46
Comments
Hi @falfaro, sorry for the months-long delay in responding. I think this bug may have been fixed in a newer release than the one you were using. I can't pin down which date or version introduced the fix. I would recommend pulling down the latest copy and testing again with that. If you have a development environment:
Otherwise, until we release v0.0.8, you can give v0.0.7 a shot from the releases page: https://github.com/packethost/packet-cli/releases/tag/0.0.7 The default behavior within the CLI is to perform lists without pagination. This can be seen here: The default behavior of Packngo is to fetch all pages. In order for a single page to be returned, the Let us know if updating to the latest version corrects the problem. |
This may be dependent on equinixmetal-archive/packngo#63 but I don't know why that is still open. Unless I am missing something, I think hardware-reservations was covered. |
Hi there, I've just installed v0.1.1 and we're still seeing hardware-reservations returning just 10 lines. |
Currently the
packet-cli hardware-reservation get
does not support any form of pagination. For example, to request 1000 records (instead of hard-coded limit of 10).This can be achieved using
curl
:It would be nice if a command-line flag allowed the same.
The text was updated successfully, but these errors were encountered: