summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
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,