Skip to content

Commit

Permalink
to_existing_atom converted to to_atom
Browse files Browse the repository at this point in the history
  • Loading branch information
njwest committed Feb 20, 2024
1 parent 7f8d706 commit 7459a48
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/hammer/supervisor.ex
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ defmodule Hammer.Supervisor do
children =
Enum.map(config, fn {k, c} ->
"hammer_backend_#{k}_pool"
|> String.to_existing_atom()
|> String.to_atom()
|> to_pool_spec(c)
end)

Expand Down

0 comments on commit 7459a48

Please sign in to comment.