]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Context cleanup
authorZhiteng Huang <zhithuang@ebaysf.com>
Fri, 21 Nov 2014 18:53:40 +0000 (02:53 +0800)
committerZhiteng Huang <zhithuang@ebaysf.com>
Mon, 24 Nov 2014 00:59:08 +0000 (08:59 +0800)
commitf8dc04fe3fdd8a9b168581ebd2db0e4bcd80fe20
treee1fa65a69e5aa3ae1fcad7ce9782fb9dc9ac89c6
parentca37fbaea96aa58ba889ef7e907cf69b0a989b3c
Context cleanup

Before the fix of bug #1386932 (285cfaf0954d4c3e320b205c288240c1828476fe)
was committed, there are a few hacks in Cinder where an original copy
of (un-elevated) context has to be saved before doing
context.elevated().  Now that we have the fix in place, it's time to
clean up those old hacks.

Change-Id: Ie3e5cb7398647b4619d294c572e920e6c3b6b9c9
Related-bug: #1386392
cinder/tests/test_volume.py
cinder/volume/api.py
cinder/volume/manager.py