Fix spell typos

Change-Id: I497eb5b2b0a388c242a452bddc39c2bc39648f7a
This commit is contained in:
venkatamahesh 2016-02-03 23:31:48 +05:30
parent 08577f420d
commit b9f012e14a
2 changed files with 3 additions and 3 deletions

View File

@ -54,7 +54,7 @@ class TestLPM(test.TestCase):
with mock.patch.object(
self.lpmsrc, '_check_migration_ready', return_value=None):
# Test the bad path first, then patch in values to make suceed
# Test the bad path first, then patch in values to make succeed
self.lpmsrc.dest_data = {'dest_proc_compat': 'a,b,c'}
mock_wrap = mock.Mock(id=123)
mock_get_wrap.return_value = mock_wrap

View File

@ -99,7 +99,7 @@ class LiveMigrationDest(LiveMigration):
src_stats = src_compute_info['stats']
dst_stats = dst_compute_info['stats']
# Check the lmb sizes for compatability
# Check the lmb sizes for compatibility
if (src_stats['memory_region_size'] !=
dst_stats['memory_region_size']):
msg = (_("Cannot migrate instance '%(name)s' because the "
@ -248,7 +248,7 @@ class LiveMigrationSrc(LiveMigration):
self.src_data['migrate_data'] = mig_data
LOG.debug('Src Migration data: %s' % self.src_data)
# Check proc compatability modes
# Check proc compatibility modes
if (lpar_w.proc_compat_mode and lpar_w.proc_compat_mode not in
self.dest_data['dest_proc_compat'].split(',')):
msg = (_("Cannot migrate %(name)s because its "