From bc3fc639e93e41fddf750046b9c0a217698d91fc Mon Sep 17 00:00:00 2001 From: Mitsuhiro SHIGEMATSU Date: Sun, 15 Mar 2015 20:16:23 +0900 Subject: [PATCH] Fix typos in LVMVolumeDriver Fix typos. "Succesfully" -> "Successfully" Change-Id: Ic26d7fc65c1e8b97bfac2fcc3aa395090716020f Closes-Bug: #1429773 --- cinder/volume/api.py | 4 ++-- cinder/volume/drivers/lvm.py | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/cinder/volume/api.py b/cinder/volume/api.py index a755717e6..da9753e7f 100644 --- a/cinder/volume/api.py +++ b/cinder/volume/api.py @@ -349,7 +349,7 @@ class API(base.Base): 'terminated_at': now}) self.volume_rpcapi.delete_volume(context, volume, unmanage_only) - LOG.info(_LI('Succesfully issued request to ' + LOG.info(_LI('Successfully issued request to ' 'delete volume: %s.'), volume['id']) @wrap_check_policy @@ -843,7 +843,7 @@ class API(base.Base): volume = self.db.volume_get(context, snapshot_obj.volume_id) self.volume_rpcapi.delete_snapshot(context, snapshot_obj, volume['host']) - LOG.info(_LI('Succesfully issued request to ' + LOG.info(_LI('Successfully issued request to ' 'delete snapshot: %s'), snapshot_obj.id) @wrap_check_policy diff --git a/cinder/volume/drivers/lvm.py b/cinder/volume/drivers/lvm.py index 369899304..9b4d0465e 100644 --- a/cinder/volume/drivers/lvm.py +++ b/cinder/volume/drivers/lvm.py @@ -341,7 +341,7 @@ class LVMVolumeDriver(driver.VolumeDriver): raise exception.VolumeIsBusy(volume_name=volume['name']) self._delete_volume(volume) - LOG.info(_LI('Succesfully deleted volume: %s'), volume['id']) + LOG.info(_LI('Successfully deleted volume: %s'), volume['id']) def create_snapshot(self, snapshot): """Creates a snapshot.""" @@ -356,7 +356,7 @@ class LVMVolumeDriver(driver.VolumeDriver): # If the snapshot isn't present, then don't attempt to delete LOG.warning(_LW("snapshot: %s not found, " "skipping delete operations") % snapshot['name']) - LOG.info(_LI('Succesfully deleted snapshot: %s'), snapshot['id']) + LOG.info(_LI('Successfully deleted snapshot: %s'), snapshot['id']) return True # TODO(yamahata): zeroing out the whole snapshot triggers COW. -- 2.45.2