From b9f012e14a0a2c3d6db9976b4b0912c9ad92e876 Mon Sep 17 00:00:00 2001 From: venkatamahesh Date: Wed, 3 Feb 2016 23:31:48 +0530 Subject: [PATCH] Fix spell typos Change-Id: I497eb5b2b0a388c242a452bddc39c2bc39648f7a --- nova_powervm/tests/virt/powervm/test_live_migration.py | 2 +- nova_powervm/virt/powervm/live_migration.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/nova_powervm/tests/virt/powervm/test_live_migration.py b/nova_powervm/tests/virt/powervm/test_live_migration.py index fdea0b6f..1b82a1da 100644 --- a/nova_powervm/tests/virt/powervm/test_live_migration.py +++ b/nova_powervm/tests/virt/powervm/test_live_migration.py @@ -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 diff --git a/nova_powervm/virt/powervm/live_migration.py b/nova_powervm/virt/powervm/live_migration.py index 063f3631..010c9b4d 100644 --- a/nova_powervm/virt/powervm/live_migration.py +++ b/nova_powervm/virt/powervm/live_migration.py @@ -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 "