Skip to content
This repository has been archived by the owner on Jun 21, 2024. It is now read-only.

handle pagination in IP list responses #352

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

handle pagination in IP list responses #352

wants to merge 1 commit into from

Conversation

displague
Copy link
Contributor

@displague displague commented Feb 22, 2023

Fixes #334

How was this tested:

# clone metal-cli along side packngo
# in metal-cli modify go.mod, add:
# replace github.com/packethost/packngo => ../packngo
# run against a project with > 10 ips:
PACKNGO_DEBUG=1 go run ./cmd/metal/ ips get --filter=per_page=10 
# see the paginated requests, see that the returned IPs are unique and complete

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

IP address lists can now be paginated
1 participant