]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commitdiff
Change corrupted spelling mistakes
authorsanuptpm <sanuptpm@gmail.com>
Tue, 29 Jul 2014 14:55:19 +0000 (20:25 +0530)
committersanuptpm <sanuptpm@gmail.com>
Wed, 30 Jul 2014 12:27:00 +0000 (17:57 +0530)
Change-Id: I62b4d94d135fa620fac071a5196957c11bb03b77

cinder/openstack/common/lockutils.py
cinder/openstack/common/policy.py
cinder/tests/test_storwize_svc.py
cinder/volume/drivers/nimble.py
cinder/volume/drivers/san/hp/hp_3par_common.py

index 005ad3cf9de345b8b4cd0557c922d1d94eef873f..3a3100d764b50fca7f9b242d64744bfe1691f53f 100644 (file)
@@ -164,7 +164,7 @@ def synchronized(name, lock_file_prefix, external=False, lock_path=None):
 
     :param external: The external keyword argument denotes whether this lock
     should work across multiple processes. This means that if two different
-    workers both run a method decorated with @synchronized('mylock',
+    workers both run a method decorated with @synchronized('mylock',
     external=True), only one of them will execute at a time.
 
     :param lock_path: The lock_path keyword argument is used to specify a
index a0a954c12bccfe6a180f28dc1f042cbb2762abee..20f1765d99752016b8f10a955eed0f13572b1df3 100644 (file)
@@ -82,7 +82,7 @@ def enforce(match_list, target_dict, credentials_dict, exc=None,
             can use this to perform simple boolean logic.  For
             example, the following rule would return True if the creds
             contain the role 'admin' OR the if the tenant_id matches
-            the target dict AND the the creds contains the role
+            the target dict AND the creds contains the role
             'compute_sysadmin':
 
             ::
index 1ba3020738b7c568a611fb435948bd0558c15902..72763a21196a6f329ab36a8a1f72544f1e74df89 100644 (file)
@@ -2715,7 +2715,7 @@ class StorwizeSVCDriverTestCase(test.TestCase):
         volume, uid = self._create_volume_and_return_uid('manage_test')
 
         # Descriptor of the Cinder volume that we want to own the vdisk
-        # refrerenced by uid.
+        # referenced by uid.
         new_volume = self._generate_vol_info(None, None)
 
         # Submit the request to manage it.
@@ -2747,7 +2747,7 @@ class StorwizeSVCDriverTestCase(test.TestCase):
         self.driver.initialize_connection(volume, conn)
 
         # Descriptor of the Cinder volume that we want to own the vdisk
-        # refrerenced by uid.
+        # referenced by uid.
         volume = self._generate_vol_info(None, None)
         ref = {'source-id': uid}
 
@@ -2760,7 +2760,7 @@ class StorwizeSVCDriverTestCase(test.TestCase):
         """Tests managing a mapped volume with override.
 
         This test case attempts to manage an existing volume by UID, when it
-        it already mapped to a host, but the ref specifies that this is OK.
+        already mapped to a host, but the ref specifies that this is OK.
         We verify that the backend volume was renamed to have the name of the
         Cinder volume that we asked for it to be associated with.
         """
@@ -2775,7 +2775,7 @@ class StorwizeSVCDriverTestCase(test.TestCase):
         self.driver.initialize_connection(volume, conn)
 
         # Descriptor of the Cinder volume that we want to own the vdisk
-        # refrerenced by uid.
+        # referenced by uid.
         new_volume = self._generate_vol_info(None, None)
 
         # Submit the request to manage it, specifying that it is OK to
index 68405423d0afb36de4ea898e5161cfabc83bbc10..255a54eb3ec371b84badee24da5c68d8c7605fc4 100644 (file)
@@ -497,7 +497,7 @@ class NimbleAPIExecutor:
     def create_vol(self, volume, pool_name, reserve):
         """Execute createVol API."""
         response = self._execute_create_vol(volume, pool_name, reserve)
-        LOG.info(_('Successfuly create volume %s') % response['name'])
+        LOG.info(_('Successfully create volume %s') % response['name'])
         return response['name']
 
     @_connection_checker
@@ -509,7 +509,7 @@ class NimbleAPIExecutor:
     def get_group_config(self):
         """Execute getGroupConfig API."""
         response = self._execute_get_group_config()
-        LOG.debug('Successfuly retrieved group config information')
+        LOG.debug('Successfully retrieved group config information')
         return response['info']
 
     @_connection_checker
@@ -552,7 +552,7 @@ class NimbleAPIExecutor:
     def get_vol_info(self, vol_name):
         """Execute getVolInfo API."""
         response = self._execute_get_vol_info(vol_name)
-        LOG.info(_('Successfuly got volume information for volume %s')
+        LOG.info(_('Successfully got volume information for volume %s')
                  % vol_name)
         return response['vol']
 
@@ -680,7 +680,7 @@ class NimbleAPIExecutor:
     def get_initiator_grp_list(self):
         """Execute getInitiatorGrpList API."""
         response = self._execute_get_initiator_grp_list()
-        LOG.info(_('Successfuly retrieved InitiatorGrpList'))
+        LOG.info(_('Successfully retrieved InitiatorGrpList'))
         return (response['initiatorgrp-list']
                 if 'initiatorgrp-list' in response else [])
 
index 23d23f7b67981c3705c303485a4625aabea380f5..bf4b1bda77a5108ec271e278be6ae4be16a3564d 100644 (file)
@@ -301,7 +301,7 @@ class HP3PARCommon(object):
         else:
             display_name = None
 
-        # Generate the new volume information based off of the new ID.
+        # Generate the new volume information based on the new ID.
         new_vol_name = self._get_3par_vol_name(volume['id'])
         name = 'volume-' + volume['id']