frappy_psi.sea: use secnode.name to determine the service
this fix is only needed in case uri is not given
This commit is contained in:
@ -126,8 +126,7 @@ class SeaClient(ProxyClient, Module):
|
||||
_last_connect = 0
|
||||
|
||||
def __init__(self, name, log, opts, srv):
|
||||
nodename = srv.node_cfg.get('name') or srv.node_cfg.get('equipment_id')
|
||||
instance = nodename.rsplit('_', 1)[0]
|
||||
instance = srv.secnode.name.rsplit('_', 1)[0]
|
||||
if 'uri' not in opts:
|
||||
self._instance = instance
|
||||
port = get_sea_port(instance)
|
||||
|
Reference in New Issue
Block a user