Incorrect argument while retrieving quota with project and user in DbQuotaDriver
Bug #1255035 reported by
Tianpeng Wang
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Undecided
|
Tianpeng Wang |
Bug Description
The `user_id` passed in db.quota_get() should be a keyword argument.
The prototype of quota_get():
def quota_get(context, project_id, resource, user_id=None)
But In DbQuotaDriver:
return db.quota_
which should be:
return db.quota_
Changed in nova: | |
assignee: | nobody → Tianpeng Wang (timonwong) |
Changed in nova: | |
status: | New → In Progress |
Changed in nova: | |
milestone: | none → icehouse-1 |
Changed in nova: | |
status: | Fix Committed → Fix Released |
Changed in nova: | |
milestone: | icehouse-1 → 2014.1 |
To post a comment you must log in.
Fix proposed to branch: master /review. openstack. org/58518
Review: https:/