Pleroma.Web.Plugs.RateLimiter.Supervisor: dialyzer error

lib/pleroma/web/plugs/rate_limiter/supervisor.ex:12:no_return
Function init/1 has no local return.
This commit is contained in:
Mark Felder 2024-01-31 13:12:56 -05:00
parent 92992c022d
commit 97c4d3bcc9
1 changed files with 1 additions and 1 deletions

View File

@ -14,7 +14,7 @@ def init(_args) do
Pleroma.Web.Plugs.RateLimiter.LimiterSupervisor Pleroma.Web.Plugs.RateLimiter.LimiterSupervisor
] ]
opts = [strategy: :one_for_one, name: Pleroma.Web.Streamer.Supervisor] opts = [strategy: :one_for_one]
Supervisor.init(children, opts) Supervisor.init(children, opts)
end end
end end