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

--limit 0 behavior differs from API #311

Closed
daviddavis opened this issue Jul 21, 2021 · 1 comment · Fixed by #312
Closed

--limit 0 behavior differs from API #311

daviddavis opened this issue Jul 21, 2021 · 1 comment · Fixed by #312
Labels
bug Something isn't working (template-set) easy fix Good for newcomers
Milestone

Comments

@daviddavis
Copy link
Contributor

Not sure if this is a problem but I noticed that --limit 0 behaviors different than supplying limit=0 when hitting the api:

# returns all objects
$ http :/pulp/api/v3/repositories/file/file/ limit==0

$ pulp file repository list --limit 0
Not all -1 entries were shown.
[]

Also the message seems odd too (Not all -1 entries were shown.)

@mdellweg
Copy link
Member

restrict to limits >=1

@mdellweg mdellweg added bug Something isn't working (template-set) easy fix Good for newcomers triaged labels Jul 21, 2021
daviddavis pushed a commit to daviddavis/pulp-cli that referenced this issue Jul 21, 2021
daviddavis pushed a commit to daviddavis/pulp-cli that referenced this issue Jul 21, 2021
@mdellweg mdellweg added this to the 0.11.0 milestone Jul 21, 2021
mdellweg pushed a commit that referenced this issue Jul 21, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working (template-set) easy fix Good for newcomers
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants