Merge pull request #7160 from mjstapp/fix_topo_daemons_list

tests: fix bug in handling of daemons to start
This commit is contained in:
Stephen Worley 2020-09-23 14:47:13 -04:00 committed by GitHub
commit 57d7d1948e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1322,7 +1322,9 @@ class Router(Node):
# If `daemons` was specified then some upper API called us with
# specific daemons, otherwise just use our own configuration.
daemons_list = []
if daemons is None:
if daemons != None:
daemons_list = daemons
else:
# Append all daemons configured.
for daemon in self.daemons:
if self.daemons[daemon] == 1: