mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-14 02:53:55 +00:00
topogen: fix assertion on routers_have_failure
`errors != ''` is never going to be false so the assert was never being triggered. Signed-off-by: Rafael Zalamena <rzalamena@opensourcerouting.org>
This commit is contained in:
parent
0e17ee9e03
commit
46325763aa
@ -386,7 +386,7 @@ class Topogen(object):
|
||||
|
||||
if errors != '':
|
||||
self.set_error(errors, 'router_error')
|
||||
assert errors != '', errors
|
||||
assert False, errors
|
||||
return True
|
||||
return False
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user