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

@ -120,7 +120,6 @@ def interface(args, yaml):
if ifname.startswith("BondEthernet") and not bondethernet.exists(yaml, ifname):
msgs.append("interface %s does not exist in bondethernets" % ifname)
result = False
continue
iface_lcp = has_lcp(yaml, ifname)
iface_address = has_address(yaml, ifname)