diff options
-rw-r--r-- | deploy/config/network.py | 2 | ||||
-rw-r--r-- | tests/unit/config/test_network.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/deploy/config/network.py b/deploy/config/network.py index 4d877a75..1966edee 100644 --- a/deploy/config/network.py +++ b/deploy/config/network.py @@ -58,7 +58,7 @@ class NetworkConfig(object): def _parse_interfaces(self, interfaces): for interface in interfaces: self._setattr(interface['name'], - 'iterface', + 'interface', interface['interface']) def _setattr(self, network_type, field, value): diff --git a/tests/unit/config/test_network.py b/tests/unit/config/test_network.py index 98107929..de04861e 100644 --- a/tests/unit/config/test_network.py +++ b/tests/unit/config/test_network.py @@ -78,7 +78,7 @@ def test_create_NetworkConf_instance(conf_file_dir, network_file_name, metadatas for interface in interfaces: name = interface['name'] mapname = type2name[name] - interface_name = '{}_{}'.format(mapname, 'iterface') + interface_name = '{}_{}'.format(mapname, 'interface') assert getattr(NetworkConfClient, interface_name) == interface['interface'] assert getattr(NetworkConfClient, 'internal_vip') == internal_vip |