aboutsummaryrefslogtreecommitdiffstats
path: root/lib/lkn/core/system.ex
diff options
context:
space:
mode:
Diffstat (limited to 'lib/lkn/core/system.ex')
-rw-r--r--lib/lkn/core/system.ex6
1 files changed, 1 insertions, 5 deletions
diff --git a/lib/lkn/core/system.ex b/lib/lkn/core/system.ex
index f17fb65..53ca6c7 100644
--- a/lib/lkn/core/system.ex
+++ b/lib/lkn/core/system.ex
@@ -173,11 +173,7 @@ defmodule Lkn.Core.System do
@spec notify(t, any) :: :ok
def notify(state, notif) do
- Registry.dispatch(Lkn.Core.Notifier, Name.notify_group(state.instance_key), fn entries ->
- for {_, key} <- entries do
- notif.(key)
- end
- end)
+ Lkn.Core.Instance.notify_puppeteers(state.instance_key, notif)
end
end