typos(?) in create_snapshots_in_db
Other variables are used in line 783 (snap) and 784 (snapshot) of cinder.volume.api. Since it looks typo, I fix it. Change-Id: I3f1aa3b71166e882c751362792fbf90477ecbd38 Closes-Bug: #1478236
This commit is contained in:
parent
4f197feb0d
commit
154b2542a4
|
@ -781,7 +781,7 @@ class API(base.Base):
|
|||
with excutils.save_and_reraise_exception():
|
||||
try:
|
||||
for snap in snapshot_list:
|
||||
snapshot.destroy()
|
||||
snap.destroy()
|
||||
finally:
|
||||
QUOTAS.rollback(context, reservations)
|
||||
|
||||
|
|
Loading…
Reference in New Issue