From 154b2542a4a4013fc6071c3ea56a2391787da2e7 Mon Sep 17 00:00:00 2001 From: Yusuke Hayashi Date: Sat, 25 Jul 2015 21:49:33 +0900 Subject: [PATCH] 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 --- cinder/volume/api.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cinder/volume/api.py b/cinder/volume/api.py index 1d0f6ae11..d8043cce7 100644 --- a/cinder/volume/api.py +++ b/cinder/volume/api.py @@ -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) -- 2.45.2