Skip to content

Commit dd33db6

Browse files
committed
Clarify location of KV.Bucket.Supervisor
1 parent 256073c commit dd33db6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

getting-started/mix-otp/supervisor-and-application.markdown

+1-1
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,7 @@ One possible solution to this issue would be to provide a `KV.Bucket.start/0`, t
227227

228228
We are going to solve this issue by defining a new supervisor that will spawn and supervise all buckets. There is one supervisor strategy, called `:simple_one_for_one`, that is the perfect fit for such situations: it allows us to specify a worker template and supervise many children based on this template.
229229

230-
Let's define our `KV.Bucket.Supervisor` as follows:
230+
Let's define our `KV.Bucket.Supervisor` in `lib/kv/bucket/supervisor.ex` as follows:
231231

232232
```elixir
233233
defmodule KV.Bucket.Supervisor do

0 commit comments

Comments
 (0)