You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, sorry for the late reply. Unfortunately this bug is due to how the API handles the max results query param. A pagination rework will happen on the CLI side, although I don't have a timeline for that.
In the meantime you should pipe the output to sed -n '[row]p' or head -n [rows] and tail -n [rows] to select the first/last n rows
i.e. ionosctl [command] -F FIRST_FILTER -F SECOND_FILTER --no-headers | sed -n '1p'
Description
When I use --filters with --max-results I have inconsistent response.
Expected behavior
Using --max-results consistently return records.
Environment
Production, admin contract and dev contract.
Go Version:
Ionosctl version:
OS:
Shell:
Configuration Files
How to Reproduce
You can use the dev contract for a test. redacted the id for security reasons.
Removing the flag resolves for the first call, usually
Error and Debug Output
No errors, just empty response.
Additional Notes
References
The text was updated successfully, but these errors were encountered: