Fix typo in log messages and comments
Fixed following typos in log messages and comment strings accesible -> accessible Extacts -> Extracts intitiators -> initiators swith -> switch unavailble -> unavailable Change-Id: I972984f61ee2d97db64aece0e5116ed5ca1da4cf
This commit is contained in:
@@ -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):
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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?
|
||||
|
||||
Reference in New Issue
Block a user