Continue validation even after error occurs, catching as many errors as possible for the user
This commit is contained in:
@ -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))
|
||||
|
Reference in New Issue
Block a user