mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-05-30 22:25:41 +00:00
Merge pull request #7160 from mjstapp/fix_topo_daemons_list
tests: fix bug in handling of daemons to start
This commit is contained in:
commit
57d7d1948e
@ -1322,7 +1322,9 @@ class Router(Node):
|
|||||||
# If `daemons` was specified then some upper API called us with
|
# If `daemons` was specified then some upper API called us with
|
||||||
# specific daemons, otherwise just use our own configuration.
|
# specific daemons, otherwise just use our own configuration.
|
||||||
daemons_list = []
|
daemons_list = []
|
||||||
if daemons is None:
|
if daemons != None:
|
||||||
|
daemons_list = daemons
|
||||||
|
else:
|
||||||
# Append all daemons configured.
|
# Append all daemons configured.
|
||||||
for daemon in self.daemons:
|
for daemon in self.daemons:
|
||||||
if self.daemons[daemon] == 1:
|
if self.daemons[daemon] == 1:
|
||||||
|
Loading…
Reference in New Issue
Block a user