summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/app_utils.erl6
-rw-r--r--src/rabbit_boot.erl2
2 files changed, 4 insertions, 4 deletions
diff --git a/src/app_utils.erl b/src/app_utils.erl
index 82e4e276fe..1037fa3461 100644
--- a/src/app_utils.erl
+++ b/src/app_utils.erl
@@ -18,7 +18,7 @@
-export([load_applications/1, start_applications/1, start_applications/2,
stop_applications/1, stop_applications/2, app_dependency_order/2,
running_applications/0, wait_for_applications/1, app_dependencies/1]).
--export([direct_dependencies/1]).
+-export([isolated_dependencies/1]).
-ifdef(use_specs).
@@ -32,7 +32,7 @@
-spec wait_for_applications([atom()]) -> 'ok'.
-spec app_dependency_order([atom()], boolean()) -> [digraph:vertex()].
-spec app_dependencies(atom()) -> [atom()].
--spec direct_dependencies(atom()) -> [atom()].
+-spec isolated_dependencies(atom()) -> [atom()].
-endif.
@@ -77,7 +77,7 @@ stop_applications(Apps, ErrorHandler) ->
wait_for_applications(Apps) ->
[wait_for_application(App) || App <- Apps], ok.
-direct_dependencies(Root) ->
+isolated_dependencies(Root) ->
Loaded = application:loaded_applications(),
{ok, G} = rabbit_misc:build_graph(
fun() -> [{App, App} || {App, _, _} <- Loaded] end,
diff --git a/src/rabbit_boot.erl b/src/rabbit_boot.erl
index d1b32b6a96..3f0ceea65e 100644
--- a/src/rabbit_boot.erl
+++ b/src/rabbit_boot.erl
@@ -118,7 +118,7 @@ stop(Apps) ->
lists:foldl(
fun(App, Set) ->
lists:foldl(fun sets:add_element/2, Set,
- app_utils:direct_dependencies(App) -- [rabbit])
+ app_utils:isolated_dependencies(App) -- [rabbit])
end, sets:new(), Apps)),
try
ok = app_utils:stop_applications(