Merge "Fix typos in documentation"

This commit is contained in:
Jenkins 2016-10-06 15:55:48 +00:00 committed by Gerrit Code Review
commit 75b89a36e3
2 changed files with 3 additions and 4 deletions

View File

@ -199,9 +199,8 @@ class QuotaSetsController(wsgi.Controller):
:param req: request
:param id: target project id that needs to be updated
:param body: key, value pair that that will be
applied to the resources if the update
succeeds
:param body: key, value pair that will be applied to
the resources if the update succeeds
"""
context = req.environ['cinder.context']
authorize_update(context)

View File

@ -551,7 +551,7 @@ class NetAppEseriesLibraryTestCase(test.TestCase):
self.assertEqual(ssc[key], pool_stats[key])
def test_update_volume_stats_no_ssc(self):
"""Ensure that that pool stats are correctly reported without SSC"""
"""Ensure that pool stats are correctly reported without SSC"""
fake_pool = copy.deepcopy(eseries_fake.STORAGE_POOL)
self.library._get_storage_pools = mock.Mock(return_value=[fake_pool])
self.library._update_volume_stats()