]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commitdiff
Fix typos in comments
authorTakashi NATSUME <natsume.takashi@lab.ntt.co.jp>
Wed, 9 Sep 2015 08:34:25 +0000 (17:34 +0900)
committerTakashi NATSUME <natsume.takashi@lab.ntt.co.jp>
Wed, 9 Sep 2015 08:38:04 +0000 (17:38 +0900)
suported => supported
proces => process
occured => occurred
do quota reserver => Reserve a quota

Change-Id: I97f1bfae8b62655b415ef8f61dc439416458d38d

cinder/api/contrib/admin_actions.py
cinder/backup/api.py
cinder/tests/unit/keymgr/test_barbican.py
cinder/volume/drivers/netapp/utils.py

index d0b9c82e1fd07fcaca8f39c561716f13d7a78ad0..388c70cdc75a760b8a8772c374e3f0f4155d0601 100644 (file)
@@ -264,7 +264,7 @@ class VolumeAdminController(AdminController):
         """Enable/Re-enable replication on replciation capable volume.
 
         Admin only method, used primarily for cases like disable/re-enable
-        replication proces on a replicated volume for maintenance or testing
+        replication process on a replicated volume for maintenance or testing
         """
 
         context = req.environ['cinder.context']
index b7ac2d3307402cece5ae7d057fb4e5a5b2c501ee..aa1a722c9a14ee679d18155a36e4f0ccd2b3f8c9 100644 (file)
@@ -166,7 +166,7 @@ class API(base.Base):
         if not self._is_backup_service_enabled(volume, volume_host):
             raise exception.ServiceNotFound(service_id='cinder-backup')
 
-        # do quota reserver before setting volume status and backup status
+        # Reserve a quota before setting volume status and backup status
         try:
             reserve_opts = {'backups': 1,
                             'backup_gigabytes': volume['size']}
index d8a25c15b2a7358f6565ebdfb247388796093c77..58518de98cf2a95a3c3be4270cb7d9feb8be6d77 100644 (file)
@@ -263,7 +263,7 @@ class BarbicanKeyManagerTestCase(test_key_mgr.KeyManagerTestCase):
 
         self.key_mgr.create_key(self.ctxt)
 
-        # assert proper calls occured, including with project_id
+        # assert proper calls occurred, including with project_id
         mock_token.assert_called_once_with(
             auth_url=CONF.keymgr.encryption_auth_url,
             token=self.ctxt.auth_token,
index d66e890ea22bb7a6df7834e3d3d18f103d095ced..81966eb09d115bd4b67fa60f4dc7616978702aee 100644 (file)
@@ -462,7 +462,7 @@ class FeatureState(object):
 
         :param supported: True if supported, false otherwise
         :param minimum_version: The minimum version that this feature is
-        suported at
+        supported at
         """
         self.supported = supported
         self.minimum_version = minimum_version