summaryrefslogtreecommitdiff
path: root/src/rabbit_vhost.erl
diff options
context:
space:
mode:
Diffstat (limited to 'src/rabbit_vhost.erl')
-rw-r--r--src/rabbit_vhost.erl1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/rabbit_vhost.erl b/src/rabbit_vhost.erl
index b5d8b5e4..3bf5354e 100644
--- a/src/rabbit_vhost.erl
+++ b/src/rabbit_vhost.erl
@@ -122,7 +122,6 @@ with(VHostPath, Thunk) ->
end.
%% Like with/2 but outside an Mnesia tx
-assert('_') -> ok;
assert(VHostPath) -> case rabbit_vhost:exists(VHostPath) of
true -> ok;
false -> throw({error, {no_such_vhost, VHostPath}})