Skip to content

Commit d15c03f

Browse files
committed
Naming + export type
rabbit_types:connection_name() is used elsewhere but was not exported.
1 parent 354148c commit d15c03f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/rabbit_connection_tracking.erl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ list_on_node(Node) ->
217217
catch exit:{aborted, {no_exists, _}} -> []
218218
end.
219219

220-
-spec list_on_node(node(), rabbit_types:vhsot()) -> [rabbit_types:tracked_connection()].
220+
-spec list_on_node(node(), rabbit_types:vhost()) -> [rabbit_types:tracked_connection()].
221221

222222
list_on_node(Node, VHost) ->
223223
try mnesia:dirty_match_object(

src/rabbit_variable_queue.erl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2917,7 +2917,7 @@ run_old_persistent_store(Refs, StartFunState) ->
29172917
OldStoreName.
29182918

29192919
start_new_store(VHosts) ->
2920-
%% Ensure vhost supervisor is started, so we can add vhsots to it.
2920+
%% Ensure vhost supervisor is started, so we can add vhosts to it.
29212921
lists:map(fun(VHost) ->
29222922
VHostDir = rabbit_vhost:msg_store_dir_path(VHost),
29232923
{ok, Pid} = rabbit_msg_store:start_link(?PERSISTENT_MSG_STORE,

0 commit comments

Comments
 (0)