Merge "Fix typo errors"
This commit is contained in:
commit
ab0b15c0fe
@ -268,7 +268,7 @@ class VolumeController(wsgi.Controller):
|
|||||||
msg = ("The option 'multiattach' "
|
msg = ("The option 'multiattach' "
|
||||||
"is deprecated and will be removed in a future "
|
"is deprecated and will be removed in a future "
|
||||||
"release. The default behavior going forward will "
|
"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)
|
versionutils.report_deprecated_feature(LOG, msg)
|
||||||
|
|
||||||
new_volume = self.volume_api.create(context,
|
new_volume = self.volume_api.create(context,
|
||||||
|
@ -370,7 +370,7 @@ class VolumeController(volumes_v2.VolumeController):
|
|||||||
msg = ("The option 'multiattach' "
|
msg = ("The option 'multiattach' "
|
||||||
"is deprecated and will be removed in a future "
|
"is deprecated and will be removed in a future "
|
||||||
"release. The default behavior going forward will "
|
"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)
|
versionutils.report_deprecated_feature(LOG, msg)
|
||||||
|
|
||||||
new_volume = self.volume_api.create(context,
|
new_volume = self.volume_api.create(context,
|
||||||
|
@ -1081,7 +1081,7 @@ class HostManagerTestCase(test.TestCase):
|
|||||||
@mock.patch('cinder.db.service_get_all')
|
@mock.patch('cinder.db.service_get_all')
|
||||||
@mock.patch('cinder.objects.service.Service.is_up',
|
@mock.patch('cinder.objects.service.Service.is_up',
|
||||||
new_callable=mock.PropertyMock)
|
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):
|
_mock_service_get_all_by_topic):
|
||||||
context = 'fake_context'
|
context = 'fake_context'
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user