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

Quota operations claim to return JSON but do not #54

Open
larsks opened this issue Dec 21, 2021 · 0 comments
Open

Quota operations claim to return JSON but do not #54

larsks opened this issue Dec 21, 2021 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@larsks
Copy link
Member

larsks commented Dec 21, 2021

Both DELETE /projects/<project_name>/quota and PUT /projects/<project_name>/quota claim to return JSON data (the response has Content-type: application/json, but they are in fact returning plain text:

$ curl -k  -u  admin:pass https://onboarding-onboarding.apps-crc.testing/projects/test-project/quota  -X DELETE
All quota from test-project successfully deleted

And:

$ curl -k  -u  admin:pass https://onboarding-onboarding.apps-crc.testing/projects/test-project/quota  -X PUT -d '{"Quota": {"QuotaMultiplier": 1}}'
MOC Quotas Replaced
@larsks larsks added the bug Something isn't working label Dec 23, 2021
@rob-baron rob-baron self-assigned this Jan 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants