Skip to content

Commit 15e2ec1

Browse files
committed
Update docs to match convention
1 parent 81c325b commit 15e2ec1

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/gleam/otp/static_supervisor.gleam

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@
1313
////
1414
//// pub fn start_supervisor() -> {
1515
//// supervisor.new(supervisor.OneForOne)
16-
//// |> supervisor.add(database_pool.specification())
17-
//// |> supervisor.add(http_server.specification())
16+
//// |> supervisor.add(database_pool.supervised())
17+
//// |> supervisor.add(http_server.supervised())
1818
//// |> supervisor.start
1919
//// }
2020
//// ```
@@ -88,8 +88,8 @@ pub type AutoShutdown {
8888
///
8989
/// pub fn start_supervisor() -> {
9090
/// supervisor.new(supervisor.OneForOne)
91-
/// |> supervisor.add(database_pool.specification())
92-
/// |> supervisor.add(http_server.specification())
91+
/// |> supervisor.add(database_pool.supervised())
92+
/// |> supervisor.add(http_server.supervised())
9393
/// |> supervisor.start
9494
/// }
9595
/// ```

0 commit comments

Comments
 (0)