Skip to content

Commit

Permalink
Removes service name passing in zeroconf callbacks.
Browse files Browse the repository at this point in the history
  • Loading branch information
pritchardn committed May 31, 2022
1 parent 1b805a5 commit 3e993f3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions daliuge-engine/dlg/manager/proc_daemon.py
Original file line number Diff line number Diff line change
Expand Up @@ -265,11 +265,11 @@ def _callback(zeroconf, service_type, name, state_change, adder, remover, access
if not self._shutting_down:
remover(name)

nm_callback = functools.partial(_callback, service_type='NodeManager', adder=nm_assigner.add_nm,
nm_callback = functools.partial(_callback, adder=nm_assigner.add_nm,
remover=nm_assigner.remove_nm,
accessor=nm_assigner.get_nm)

dim_callback = functools.partial(_callback, service_type="DIM", adder=nm_assigner.add_dim,
dim_callback = functools.partial(_callback, adder=nm_assigner.add_dim,
remover=nm_assigner.remove_dim,
accessor=nm_assigner.get_dim)

Expand Down

0 comments on commit 3e993f3

Please sign in to comment.