Clean up db.volume_create()
Bug #1052176 reported by
Mark McLoughlin
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Cinder |
Fix Released
|
Wishlist
|
John Griffith |
Bug Description
As observed by bcwaldon here: https:/
Rather than doing:
def volume_
...
meta = volume_
volume_
result = model_query(
if not result:
raise exception.
return result
we can just do:
def volume_
...
return volume_get(context, volume_ref['id'])
Changed in cinder: | |
assignee: | nobody → John Griffith (john-griffith) |
status: | New → Triaged |
milestone: | none → folsom-rc1 |
importance: | Undecided → High |
Changed in cinder: | |
status: | Triaged → In Progress |
Changed in cinder: | |
milestone: | folsom-rc1 → none |
importance: | High → Wishlist |
Changed in cinder: | |
milestone: | none → folsom-rc1 |
status: | Fix Committed → Fix Released |
Changed in cinder: | |
milestone: | folsom-rc1 → 2012.2 |
To post a comment you must log in.
https:/ /review. openstack. org/#/c/ 13161/