Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix
NoopQuotaDriver.get_(project|user)_quotas
format
The quota API extension expects `get_project_quotas` and `get_user_quotas` to return a dictionary where the value is another dictionary with a `limit` key. The `DbQuotaDriver` adhered to this spec, but the `NoopQuotaDriver` didn't. This fixes the `NoopQuotaDriver` to return the results in the correct format. Fixes bug 1244842 Change-Id: Iea274dab1c3f10c3cb0a2815f431e15b4d4934b1
- Loading branch information
1 parent
c6e54d4
commit 711a12b
Showing
2 changed files
with
33 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters