Fix a typo in manager.py,test_common.py and emc_vmax_utils.py
TrivialFix Change-Id: I44e47bad076dd6e53f136d581242f3c6cbbad44a
This commit is contained in:
parent
0d88d72362
commit
087734f930
@ -119,7 +119,7 @@ class Manager(base.Base, PeriodicTasks):
|
|||||||
def is_working(self):
|
def is_working(self):
|
||||||
"""Method indicating if service is working correctly.
|
"""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.
|
manager is working correctly.
|
||||||
"""
|
"""
|
||||||
return True
|
return True
|
||||||
|
@ -236,7 +236,7 @@ class SortParamUtilsTest(test.TestCase):
|
|||||||
self.assertEqual(['desc'], sort_dirs)
|
self.assertEqual(['desc'], sort_dirs)
|
||||||
|
|
||||||
def test_get_sort_params_override_defaults(self):
|
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',
|
sort_keys, sort_dirs = common.get_sort_params({}, default_key='key1',
|
||||||
default_dir='dir1')
|
default_dir='dir1')
|
||||||
self.assertEqual(['key1'], sort_keys)
|
self.assertEqual(['key1'], sort_keys)
|
||||||
|
@ -2660,7 +2660,7 @@ class EMCVMAXUtils(object):
|
|||||||
def override_ratio(self, max_over_sub_ratio, max_sub_ratio_from_per):
|
def override_ratio(self, max_over_sub_ratio, max_sub_ratio_from_per):
|
||||||
"""Override ratio if necessary
|
"""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.
|
percent is less than the user supplied max oversubscription ratio.
|
||||||
|
|
||||||
:param max_over_sub_ratio: user supplied over subscription ratio
|
:param max_over_sub_ratio: user supplied over subscription ratio
|
||||||
|
Loading…
Reference in New Issue
Block a user