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

Get-RubrikEvent submits 2 limit flags #353

Closed
jaapbrasser opened this issue Jul 2, 2019 · 0 comments · Fixed by #398
Closed

Get-RubrikEvent submits 2 limit flags #353

jaapbrasser opened this issue Jul 2, 2019 · 0 comments · Fixed by #398
Labels

Comments

@jaapbrasser
Copy link
Contributor

Current Behavior:

Currently both adds the default limit=9999 and whichever limit is specified in the Get-RubrikEvent function, default is 50. Output is as expected but limit should not be specified twice for Get-* requests.

Paste the verbose output from the command here

Expected Behavior:
Expects the query to the endpoint to only contains

Steps to Reproduce:

Get-RubrikEvent -Verbose
Get-RubrikEvent -Limit 200 -Verbose

Output:

Get-RubrikEvent -Limit 4000 -verbose
...
VERBOSE: URI = https://xxx/api/internal/event?limit=4000&limit=9999
...
VERBOSE: GET https://xxx/api/internal/event?limit=4000&limit=9999 with 0-byte payload
...
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 a pull request may close this issue.

1 participant