From 208c746b679c8138f48009835c19033810306424 Mon Sep 17 00:00:00 2001 From: Blake Harnden <32446120+bharnden@users.noreply.github.com> Date: Mon, 10 May 2021 12:39:20 -0700 Subject: [PATCH] daemon: fixed issue setting default config services if legacy services were specifically provided --- daemon/core/emulator/session.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/daemon/core/emulator/session.py b/daemon/core/emulator/session.py index ae1bb185..6aac8f33 100644 --- a/daemon/core/emulator/session.py +++ b/daemon/core/emulator/session.py @@ -555,9 +555,9 @@ class Session: # add config services config_services = options.config_services - if not options.legacy and not config_services: + if not options.legacy and not config_services and not node.services: config_services = self.services.default_services.get(node.type, []) - logger.info("setting node config services: %s", options.config_services) + logger.info("setting node config services: %s", config_services) for name in config_services: service_class = self.service_manager.get_service(name) node.add_config_service(service_class)