]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commitdiff
Fix typo in log messages and comments
authorankitagrawal <ankit11.agrawal@nttdata.com>
Thu, 26 Mar 2015 07:32:54 +0000 (00:32 -0700)
committerankitagrawal <ankit11.agrawal@nttdata.com>
Sun, 3 May 2015 16:12:24 +0000 (21:42 +0530)
Fixed following typos in log messages and comment strings

accesible -> accessible
Extacts -> Extracts
intitiators -> initiators
swith -> switch
unavailble -> unavailable

Change-Id: I972984f61ee2d97db64aece0e5116ed5ca1da4cf

cinder/volume/drivers/dell/dell_storagecenter_api.py
cinder/volume/drivers/emc/emc_vnx_cli.py
cinder/volume/drivers/solidfire.py

index 9cdb273beb24abeb5fb64d8f71a0198433d2ec7c..7036af9daac02fb3801eabd5bf128e39ee36763b 100644 (file)
@@ -697,7 +697,7 @@ class StorageCenterApi(object):
             LOG.debug('HbaList error: %(c)d %(r)s',
                       {'c': r.status_code,
                        'r': r.reason})
-            LOG.error(_LE('Unable to find FC intitiators'))
+            LOG.error(_LE('Unable to find FC initiators'))
         return initiators
 
     def get_volume_count(self, scserver):
index e450d5c0c26629f5bd322fc217d124edb77ea177..c490e9c966f2ccc9e74b56f550673a3be7470e5c 100644 (file)
@@ -1501,7 +1501,7 @@ class CommandLineHelper(object):
         retry_disable = kwargv.pop('retry_disable', False)
         out, rc = self._command_execute_on_active_ip(*command, **kwargv)
         if not retry_disable and self._is_sp_unavailable_error(out):
-            # When active sp is unavailble, swith to another sp
+            # When active sp is unavailable, switch to another sp
             # and set it to active and force a poll
             if self._toggle_sp():
                 LOG.debug('EMC: Command Exception: %(rc) %(result)s. '
@@ -2200,7 +2200,7 @@ class EMCVnxCliBase(object):
         return self.dumps_provider_location(pl_dict)
 
     def _extract_provider_location_for_lun(self, provider_location, key='id'):
-        """Extacts value of the specified field from provider_location string.
+        """Extracts value of the specified field from provider_location string.
 
         :param provider_location: provider_location string
         :param key: field name of the value that to be extracted
index e50643302e11c427da4faafbb16d9b0fabb93729..87f7fea3768c93d68773654ff5d207c6fb032cf7 100644 (file)
@@ -633,7 +633,7 @@ class SolidFireDriver(san.SanISCSIDriver):
         if ((not image_meta.get('is_public', False)) and
                 (image_meta['owner'] != volume['project_id'])):
                 LOG.warning(_LW("Requested image is not "
-                                "accesible by current Tenant."))
+                                "accessible by current Tenant."))
                 return None, False
 
         # Is virtual_size property set on the image?