Skip to content
This repository was archived by the owner on Nov 17, 2020. It is now read-only.

Commit d063d3b

Browse files
committed
Do not depend on rabbit module in rabbit_nodes.
The called function will call rabbit_nodes anyway.
1 parent bfd9c89 commit d063d3b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/rabbit_nodes.erl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ epmd_port() ->
105105
end.
106106

107107
dist_working_diagnostics(Node) ->
108-
case rabbit:is_running(Node) of
108+
case is_process_running(Node, rabbit) of
109109
true -> [{" * node ~s up, 'rabbit' application running", [Node]}];
110110
false -> [{" * node ~s up, 'rabbit' application not running~n"
111111
" * running applications on ~s: ~p~n"

0 commit comments

Comments
 (0)