summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorkjnilsson <knilsson@pivotal.io>2017-07-27 09:59:15 +0100
committerkjnilsson <knilsson@pivotal.io>2017-07-27 09:59:15 +0100
commitd15c03f1e1467198c7cb9649e0bd7ec900b744f0 (patch)
treee29db6943392b55ba375248108af94b81bd0a516 /src
parent354148c14cc79771af17acf305e41b9cdc965a7c (diff)
downloadrabbitmq-server-git-d15c03f1e1467198c7cb9649e0bd7ec900b744f0.tar.gz
Naming + export type
rabbit_types:connection_name() is used elsewhere but was not exported.
Diffstat (limited to 'src')
-rw-r--r--src/rabbit_connection_tracking.erl2
-rw-r--r--src/rabbit_variable_queue.erl2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/rabbit_connection_tracking.erl b/src/rabbit_connection_tracking.erl
index 27c4bff810..30932bb1b0 100644
--- a/src/rabbit_connection_tracking.erl
+++ b/src/rabbit_connection_tracking.erl
@@ -217,7 +217,7 @@ list_on_node(Node) ->
catch exit:{aborted, {no_exists, _}} -> []
end.
--spec list_on_node(node(), rabbit_types:vhsot()) -> [rabbit_types:tracked_connection()].
+-spec list_on_node(node(), rabbit_types:vhost()) -> [rabbit_types:tracked_connection()].
list_on_node(Node, VHost) ->
try mnesia:dirty_match_object(
diff --git a/src/rabbit_variable_queue.erl b/src/rabbit_variable_queue.erl
index dd08916e35..b4945fe3d3 100644
--- a/src/rabbit_variable_queue.erl
+++ b/src/rabbit_variable_queue.erl
@@ -2917,7 +2917,7 @@ run_old_persistent_store(Refs, StartFunState) ->
OldStoreName.
start_new_store(VHosts) ->
- %% Ensure vhost supervisor is started, so we can add vhsots to it.
+ %% Ensure vhost supervisor is started, so we can add vhosts to it.
lists:map(fun(VHost) ->
VHostDir = rabbit_vhost:msg_store_dir_path(VHost),
{ok, Pid} = rabbit_msg_store:start_link(?PERSISTENT_MSG_STORE,