From: Takashi NATSUME Date: Wed, 9 Sep 2015 08:34:25 +0000 (+0900) Subject: Fix typos in comments X-Git-Url: https://review.fuel-infra.org/gitweb?a=commitdiff_plain;h=b0d3a617676770a71c304dc1d2463e36da7c5c88;p=openstack-build%2Fcinder-build.git Fix typos in comments suported => supported proces => process occured => occurred do quota reserver => Reserve a quota Change-Id: I97f1bfae8b62655b415ef8f61dc439416458d38d --- diff --git a/cinder/api/contrib/admin_actions.py b/cinder/api/contrib/admin_actions.py index d0b9c82e1..388c70cdc 100644 --- a/cinder/api/contrib/admin_actions.py +++ b/cinder/api/contrib/admin_actions.py @@ -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'] diff --git a/cinder/backup/api.py b/cinder/backup/api.py index b7ac2d330..aa1a722c9 100644 --- a/cinder/backup/api.py +++ b/cinder/backup/api.py @@ -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']} diff --git a/cinder/tests/unit/keymgr/test_barbican.py b/cinder/tests/unit/keymgr/test_barbican.py index d8a25c15b..58518de98 100644 --- a/cinder/tests/unit/keymgr/test_barbican.py +++ b/cinder/tests/unit/keymgr/test_barbican.py @@ -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, diff --git a/cinder/volume/drivers/netapp/utils.py b/cinder/volume/drivers/netapp/utils.py index d66e890ea..81966eb09 100644 --- a/cinder/volume/drivers/netapp/utils.py +++ b/cinder/volume/drivers/netapp/utils.py @@ -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