Merge "Fix spell typos"
This commit is contained in:
commit
9a12d2e4ac
@ -54,7 +54,7 @@ class TestLPM(test.TestCase):
|
|||||||
with mock.patch.object(
|
with mock.patch.object(
|
||||||
self.lpmsrc, '_check_migration_ready', return_value=None):
|
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'}
|
self.lpmsrc.dest_data = {'dest_proc_compat': 'a,b,c'}
|
||||||
mock_wrap = mock.Mock(id=123)
|
mock_wrap = mock.Mock(id=123)
|
||||||
mock_get_wrap.return_value = mock_wrap
|
mock_get_wrap.return_value = mock_wrap
|
||||||
|
@ -99,7 +99,7 @@ class LiveMigrationDest(LiveMigration):
|
|||||||
|
|
||||||
src_stats = src_compute_info['stats']
|
src_stats = src_compute_info['stats']
|
||||||
dst_stats = dst_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'] !=
|
if (src_stats['memory_region_size'] !=
|
||||||
dst_stats['memory_region_size']):
|
dst_stats['memory_region_size']):
|
||||||
msg = (_("Cannot migrate instance '%(name)s' because the "
|
msg = (_("Cannot migrate instance '%(name)s' because the "
|
||||||
@ -248,7 +248,7 @@ class LiveMigrationSrc(LiveMigration):
|
|||||||
self.src_data['migrate_data'] = mig_data
|
self.src_data['migrate_data'] = mig_data
|
||||||
LOG.debug('Src Migration data: %s' % self.src_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
|
if (lpar_w.proc_compat_mode and lpar_w.proc_compat_mode not in
|
||||||
self.dest_data['dest_proc_compat'].split(',')):
|
self.dest_data['dest_proc_compat'].split(',')):
|
||||||
msg = (_("Cannot migrate %(name)s because its "
|
msg = (_("Cannot migrate %(name)s because its "
|
||||||
|
Loading…
Reference in New Issue
Block a user