Skip to content

Commit

Permalink
removing unused find_all_vars/1 interfaces (to be moved into amoc-ars…
Browse files Browse the repository at this point in the history
…enal)
  • Loading branch information
DenysGonchar committed Dec 19, 2023
1 parent c8783cd commit ab21f7d
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions src/amoc_config/amoc_config_utils.erl
Original file line number Diff line number Diff line change
Expand Up @@ -71,9 +71,3 @@ create_amoc_config_ets() ->
protected,
{keypos, #module_parameter.name},
{read_concurrency, true}]).

-spec find_all_vars(atom()) -> [any()].
find_all_vars(Name) ->
AllValues = [application:get_env(App, Name)
|| {App, _, _} <- application:loaded_applications()],
[Value || {ok, Value} <- AllValues].

0 comments on commit ab21f7d

Please sign in to comment.