File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -101,7 +101,7 @@ defmodule KV.Registry do
101101 {:ok , _pid } ->
102102 {:noreply , {names, refs}}
103103 :error ->
104- {:ok , pid} = KV .Bucket .Supervisor .start_bucket ()
104+ {:ok , pid} = KV .Bucket .Supervisor .start_bucket
105105 ref = Process .monitor (pid)
106106 refs = Map .put (refs, ref, name)
107107 :ets .insert (names, {name, pid})
@@ -192,7 +192,7 @@ To fix the failure we just need to make `KV.Registry.create/2` synchronous by us
192192 {:ok , pid} ->
193193 {:reply , pid, {names, refs}}
194194 :error ->
195- {:ok , pid} = KV .Bucket .Supervisor .start_bucket ()
195+ {:ok , pid} = KV .Bucket .Supervisor .start_bucket
196196 ref = Process .monitor (pid)
197197 refs = Map .put (refs, ref, name)
198198 :ets .insert (names, {name, pid})
You can’t perform that action at this time.
0 commit comments