Fix some typos
Change-Id: Ia61d581d64b7c302ba126a76a7be64ad60151d4c
This commit is contained in:
parent
e23ba3673f
commit
b145ac5150
|
@ -140,7 +140,7 @@ class QualityOfServiceSpecs(base.CinderPersistentObject,
|
|||
LOG.exception(msg)
|
||||
raise exception.Invalid(msg)
|
||||
except db_exc.DBError:
|
||||
LOG.exception(_LE('DB error occured when creating QoS specs.'))
|
||||
LOG.exception(_LE('DB error occurred when creating QoS specs.'))
|
||||
raise exception.QoSSpecsCreateFailed(name=self.name,
|
||||
qos_specs=self.specs)
|
||||
# Save ID with the object
|
||||
|
|
|
@ -644,7 +644,7 @@ class BackupCephTestCase(test.TestCase):
|
|||
|
||||
@common_mocks
|
||||
def test_discard_bytes(self):
|
||||
# Lower the chunksize to a memory managable number
|
||||
# Lower the chunksize to a memory manageable number
|
||||
self.service.chunk_size = 1024
|
||||
image = self.mock_rbd.Image.return_value
|
||||
wrapped_rbd = self._get_wrapped_rbd_io(image)
|
||||
|
|
|
@ -49,7 +49,7 @@ class VirtualPool(common.CoprHDResource):
|
|||
"""Makes REST API call to query the vpool by name and type.
|
||||
|
||||
This function will take the VPOOL name and type of VPOOL
|
||||
as input and get uri of the first occurance of given VPOOL.
|
||||
as input and get uri of the first occurence of given VPOOL.
|
||||
|
||||
:param name: Name of the VPOOL
|
||||
:param vpooltype: Type of the VPOOL {'block'}
|
||||
|
|
|
@ -284,7 +284,7 @@ class V7000ISCSIDriver(driver.ISCSIDriver):
|
|||
client info has the lun_id.
|
||||
|
||||
Note: The structure returned for iscsi is different from the
|
||||
one returned for FC. Therefore this funtion is here instead of
|
||||
one returned for FC. Therefore this function is here instead of
|
||||
common.
|
||||
|
||||
Arguments:
|
||||
|
@ -310,7 +310,7 @@ class V7000ISCSIDriver(driver.ISCSIDriver):
|
|||
client info has the lun_id.
|
||||
|
||||
Note: The structure returned for iscsi is different from the
|
||||
one returned for FC. Therefore this funtion is here instead of
|
||||
one returned for FC. Therefore this function is here instead of
|
||||
common.
|
||||
|
||||
Arguments:
|
||||
|
|
Loading…
Reference in New Issue