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

TrivialFix

Change-Id: I44e47bad076dd6e53f136d581242f3c6cbbad44a
This commit is contained in:
gengchc2 2016-09-29 09:12:12 +08:00
parent 0d88d72362
commit 087734f930
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