Skip to content

Commit a52215c

Browse files
michaelklishinmergify[bot]
authored andcommitted
Don't use fully-qualified calls in the module itself
(cherry picked from commit f1834f3)
1 parent ce5f6b3 commit a52215c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

deps/rabbit/src/rabbit_networking.erl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -262,7 +262,7 @@ listener_of_protocol(Protocol) ->
262262

263263
-spec stop_ranch_listener_of_protocol(atom()) -> ok | {error, not_found}.
264264
stop_ranch_listener_of_protocol(Protocol) ->
265-
case rabbit_networking:ranch_ref_of_protocol(Protocol) of
265+
case ranch_ref_of_protocol(Protocol) of
266266
undefined -> ok;
267267
Ref ->
268268
rabbit_log:debug("Stopping Ranch listener for protocol ~ts", [Protocol]),
@@ -523,7 +523,7 @@ emit_connection_info_all(Nodes, Items, Ref, AggregatorPid) ->
523523
emit_connection_info_local(Items, Ref, AggregatorPid) ->
524524
rabbit_control_misc:emitting_map_with_exit_handler(
525525
AggregatorPid, Ref, fun(Q) -> connection_info(Q, Items) end,
526-
connections_local() ++ rabbit_networking:local_non_amqp_connections()).
526+
connections_local() ++ local_non_amqp_connections()).
527527

528528
-spec close_connection(pid(), string()) -> 'ok'.
529529

0 commit comments

Comments
 (0)