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 <pedersen+jenkins@frm2.tum.de> Reviewed-by: Markus Zolliker <markus.zolliker@psi.ch>
This commit is contained in:
parent
e41692bf2c
commit
6fac63d769
@ -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)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user