]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commitdiff
Fix typos in LVMVolumeDriver
authorMitsuhiro SHIGEMATSU <shigematsu.mitsuhiro@lab.ntt.co.jp>
Sun, 15 Mar 2015 11:16:23 +0000 (20:16 +0900)
committerMitsuhiro SHIGEMATSU <shigematsu.mitsuhiro@lab.ntt.co.jp>
Sun, 15 Mar 2015 11:16:23 +0000 (20:16 +0900)
Fix typos. "Succesfully" -> "Successfully"

Change-Id: Ic26d7fc65c1e8b97bfac2fcc3aa395090716020f
Closes-Bug: #1429773

cinder/volume/api.py
cinder/volume/drivers/lvm.py

index a755717e67b65e01d2caaef6e146765101cbf211..da9753e7fb553b3fa5b7a9918a33af28cdd08d28 100644 (file)
@@ -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
index 36989930457d76a76fd27d8f9c4a0ed971c9f249..9b4d0465ee0f36914945e457a77505670463de3a 100644 (file)
@@ -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.