aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJames Slagle <jslagle@redhat.com>2016-04-11 12:34:06 -0400
committerJames Slagle <jslagle@redhat.com>2016-04-12 11:33:52 +0000
commit2add867244b324fc5e594372ca9b45e5984f8b3b (patch)
treedaad4ed59855b33a082c741703d440b62ecd7f5b
parent02d87760ee03699838911837945c3886dae47b83 (diff)
Fix typos
Fixes a couple of small types in a docstring and exception message. Change-Id: Id6977ca50418f9fbdca2d1a26174637968b305a6
-rw-r--r--os_net_config/__init__.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/os_net_config/__init__.py b/os_net_config/__init__.py
index a8fdf43..745da18 100644
--- a/os_net_config/__init__.py
+++ b/os_net_config/__init__.py
@@ -110,16 +110,16 @@ class NetConfig(object):
def add_bond(self, bond):
"""Add an OvsBond object to the net config object.
- :param bridge: The OvsBond object to add.
+ :param bond: The OvsBond object to add.
"""
raise NotImplemented("add_bond is not implemented.")
def add_linux_bond(self, bond):
"""Add a LinuxBond object to the net config object.
- :param bridge: The LinuxBond object to add.
+ :param bond: The LinuxBond object to add.
"""
- raise NotImplemented("add_linuxbond is not implemented.")
+ raise NotImplemented("add_linux_bond is not implemented.")
def apply(self, cleanup=False):
"""Apply the network configuration.