Get rid of ' characters in errors

This commit is contained in:
Pim van Pelt
2022-03-15 21:13:42 +00:00
parent 2bbcff2ca0
commit 2947bbfd25
5 changed files with 6 additions and 6 deletions

View File

@ -42,7 +42,7 @@ def validate_bondethernets(yaml):
logger.debug("bondethernet %s: %s" % (ifname, iface))
for member in iface['interfaces']:
if not interface.get_by_name(yaml, member):
msgs.append("bondethernet %s member %s doesn't exist" % (ifname, member))
msgs.append("bondethernet %s member %s does not exist" % (ifname, member))
result = False
if interface.has_sub(yaml, member):