Merge "Fix spell typos"

This commit is contained in:
Jenkins 2016-02-03 22:21:35 +00:00 committed by Gerrit Code Review
commit 9a12d2e4ac
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 "