pylint: volume/api: Fix E0601 error
Fix E0601 used-before-assignment error from pylint.
@@ -1588,8 +1588,8 @@ class API(base.Base):
if rollback:
_roll_back_status()
- try:
reservations = None
+ try:
reserve_opts = {'gigabytes': size_increase}
QUOTAS.add_volume_type_opts(context, reserve_opts,
volume.volume_type_id)
