commit a52043858434cab74ccf92549feb19ecb3264499
Author: Rick Harris <email address hidden>
Date: Sat Oct 26 01:07:28 2013 +0000
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.
Reviewed: https:/ /review. openstack. org/55557 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=a5204385843 4cab74ccf92549f eb19ecb3264499
Committed: https:/
Submitter: Jenkins
Branch: stable/havana
commit a52043858434cab 74ccf92549feb19 ecb3264499
Author: Rick Harris <email address hidden>
Date: Sat Oct 26 01:07:28 2013 +0000
Fix `NoopQuotaDrive r.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: Iea274dab1c3f10 c3cb0a2815f431e 15b4d4934b1 44d26d147d8a67e 110e056124)
(cherry picked from commit 711a12b4029cd15