From e0950b7f2c2e38c1f72a93009d1e51ed93ab4eb3 Mon Sep 17 00:00:00 2001 From: Takashi NATSUME Date: Tue, 14 Jul 2015 10:16:53 +0900 Subject: [PATCH] Fix typo 'adress' Fix typo 'adress_scope' to 'address_scope' in neutron/extensions/address_scope.py. Fix typo 'test_remove_adresses_by_interface' to 'test_remove_addresses_by_interface' in neutron/tests/unit/agent/linux/test_keepalived.py Change-Id: If5496911b63a9f199c9be389ab3fd938c21d091e --- neutron/extensions/address_scope.py | 2 +- neutron/tests/unit/agent/linux/test_keepalived.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/neutron/extensions/address_scope.py b/neutron/extensions/address_scope.py index 63829920b..eb323796e 100644 --- a/neutron/extensions/address_scope.py +++ b/neutron/extensions/address_scope.py @@ -113,7 +113,7 @@ class Address_scope(extensions.ExtensionDescriptor): class AddressScopePluginBase(object): @abc.abstractmethod - def create_address_scope(self, context, adress_scope): + def create_address_scope(self, context, address_scope): pass @abc.abstractmethod diff --git a/neutron/tests/unit/agent/linux/test_keepalived.py b/neutron/tests/unit/agent/linux/test_keepalived.py index ef8b84913..237ae447d 100644 --- a/neutron/tests/unit/agent/linux/test_keepalived.py +++ b/neutron/tests/unit/agent/linux/test_keepalived.py @@ -238,7 +238,7 @@ class KeepalivedInstanceTestCase(base.BaseTestCase, ['169.254.192.0/18']) self.assertEqual('169.254.0.42/24', instance.get_primary_vip()) - def test_remove_adresses_by_interface(self): + def test_remove_addresses_by_interface(self): config = self._get_config() instance = config.get_instance(1) instance.remove_vips_vroutes_by_interface('eth2') -- 2.45.2