Continue validation even after error occurs, catching as many errors as possible for the user

This commit is contained in:
Pim van Pelt
2022-03-13 09:58:29 +00:00
parent be102d5b6d
commit 9250e07aed
2 changed files with 0 additions and 2 deletions

View File

@ -30,7 +30,6 @@ def bondethernet(args, yaml):
if not interface.exists(yaml, member):
msgs.append("bondethernet %s member %s doesn't exist" % (ifname, member))
result = False
continue
if interface.has_sub(yaml, member):
msgs.append("bondethernet %s member %s has sub-interface(s)" % (ifname, member))