summaryrefslogtreecommitdiffstats
path: root/nova/openstack
diff options
context:
space:
mode:
authorKevin L. Mitchell <kevin.mitchell@rackspace.com>2012-08-10 17:21:05 -0500
committerKevin L. Mitchell <kevin.mitchell@rackspace.com>2012-08-10 17:21:05 -0500
commita811692056fa2919028ebd18d268fc7325a7481f (patch)
tree51bba65c16eed656519853795a04bddf5eff3544 /nova/openstack
parent2ef345534afe2d1640dd1d7ad42454d477ca2a94 (diff)
Make sure reservations is initialized
In compute API, _delete() could reference reservations before it was ever assigned, if the call to _update() or to QUOTAS.reserve() raised an exception--the exception handlers test to see if reservations is set, and if so, rolls the reservations back. This patch makes sure the reservations variable is initialized to None before entering the try: block. Change-Id: I7e344074d8fd75b371d78abf8fd15b6f84023cef
Diffstat (limited to 'nova/openstack')
0 files changed, 0 insertions, 0 deletions