application: fix up after_supervisor_start removal backport

This commit is contained in:
Ariadne Conill 2019-10-04 16:15:54 +00:00
parent e951c547f7
commit 17fed5ae52

View file

@ -56,9 +56,7 @@ defmodule Pleroma.Application do
# See http://elixir-lang.org/docs/stable/elixir/Supervisor.html
# for other strategies and supported options
opts = [strategy: :one_for_one, name: Pleroma.Supervisor]
result = Supervisor.start_link(children, opts)
:ok = after_supervisor_start()
result
Supervisor.start_link(children, opts)
end
defp setup_instrumenters do