Merge "Fix a typo in manager.py,test_common.py and emc_vmax_utils.py"

This commit is contained in:
Jenkins 2016-10-03 20:20:49 +00:00 committed by Gerrit Code Review
commit ed819e6f62
3 changed files with 3 additions and 3 deletions

View File

@ -119,7 +119,7 @@ class Manager(base.Base, PeriodicTasks):
def is_working(self):
"""Method indicating if service is working correctly.
This method is supposed to be overriden by subclasses and return if
This method is supposed to be overridden by subclasses and return if
manager is working correctly.
"""
return True

View File

@ -236,7 +236,7 @@ class SortParamUtilsTest(test.TestCase):
self.assertEqual(['desc'], sort_dirs)
def test_get_sort_params_override_defaults(self):
"""Verifies that the defaults can be overriden."""
"""Verifies that the defaults can be overridden."""
sort_keys, sort_dirs = common.get_sort_params({}, default_key='key1',
default_dir='dir1')
self.assertEqual(['key1'], sort_keys)

View File

@ -2660,7 +2660,7 @@ class EMCVMAXUtils(object):
def override_ratio(self, max_over_sub_ratio, max_sub_ratio_from_per):
"""Override ratio if necessary
The over subscription ratio will be overriden if the max subscription
The over subscription ratio will be overridden if the max subscription
percent is less than the user supplied max oversubscription ratio.
:param max_over_sub_ratio: user supplied over subscription ratio