Fix typo errors

This patch is to fix some typo errors in test_host_manager.py
and in log messages.

TrivialFix

Change-Id: I402c252e2fc4221de06676dfdb1ed1883491b2ad
This commit is contained in:
pooja jadhav 2018-03-09 14:25:41 +05:30
parent 01bf2c385f
commit 0102a38490
3 changed files with 3 additions and 3 deletions

View File

@ -268,7 +268,7 @@ class VolumeController(wsgi.Controller):
msg = ("The option 'multiattach' "
"is deprecated and will be removed in a future "
"release. The default behavior going forward will "
"be to specify mulitattach enabled volume types.")
"be to specify multiattach enabled volume types.")
versionutils.report_deprecated_feature(LOG, msg)
new_volume = self.volume_api.create(context,

View File

@ -370,7 +370,7 @@ class VolumeController(volumes_v2.VolumeController):
msg = ("The option 'multiattach' "
"is deprecated and will be removed in a future "
"release. The default behavior going forward will "
"be to specify mulitattach enabled volume types.")
"be to specify multiattach enabled volume types.")
versionutils.report_deprecated_feature(LOG, msg)
new_volume = self.volume_api.create(context,

View File

@ -1081,7 +1081,7 @@ class HostManagerTestCase(test.TestCase):
@mock.patch('cinder.db.service_get_all')
@mock.patch('cinder.objects.service.Service.is_up',
new_callable=mock.PropertyMock)
def test_get_pools_filter_mulitattach(self, _mock_service_is_up,
def test_get_pools_filter_multiattach(self, _mock_service_is_up,
_mock_service_get_all_by_topic):
context = 'fake_context'