From 6fac63d769bf397df0b41c8ef4bfd23e6f6fae99 Mon Sep 17 00:00:00 2001 From: Markus Zolliker Date: Tue, 19 Nov 2024 15:42:44 +0100 Subject: [PATCH] frappy.server: remove comment about opts in SecNode/Dispatcher The options given in the node configuration may be used for both SecNode (equipment_id) and Dispatcher (when the frappy.protocol.router.Router is used as dispatcher). It is correct that both remove the options known to them. Change-Id: I2a34073e4e5490dcf8db577d9cb74788c0cb657b Reviewed-on: https://forge.frm2.tum.de/review/c/secop/frappy/+/34989 Tested-by: Jenkins Automated Tests Reviewed-by: Markus Zolliker --- frappy/server.py | 1 - 1 file changed, 1 deletion(-) diff --git a/frappy/server.py b/frappy/server.py index 14ee89b..1d4a34c 100644 --- a/frappy/server.py +++ b/frappy/server.py @@ -292,7 +292,6 @@ class Server: errors = [] opts = dict(self.node_cfg) cls = get_class(opts.pop('cls')) - # TODO: opts not in both self.secnode = SecNode(self.name, self.log.getChild('secnode'), opts, self) self.dispatcher = cls(self.name, self.log.getChild('dispatcher'), opts, self)