Remove the attempted plural 'address(es)', and keep it singular. Fix a typo (addd-ress); update unit tests

This commit is contained in:
Pim van Pelt
2022-03-13 19:08:45 +00:00
parent 878f94b2bd
commit 1340e5db42
5 changed files with 7 additions and 7 deletions

View File

@ -39,6 +39,6 @@ def validate_bondethernets(yaml):
msgs.append("bondethernet %s member %s has an LCP" % (ifname, member))
result = False
if interface.has_address(yaml, member):
msgs.append("bondethernet %s member %s has address(es)" % (ifname, member))
msgs.append("bondethernet %s member %s has an address" % (ifname, member))
result = False
return result, msgs