diff options
author | Matthias Radestock <matthias@rabbitmq.com> | 2013-09-11 14:53:46 +0100 |
---|---|---|
committer | Matthias Radestock <matthias@rabbitmq.com> | 2013-09-11 14:53:46 +0100 |
commit | 24d07a16fe6ecb5565ca50ad9e3dba8d95116c25 (patch) | |
tree | bf30b463ef72221aba707869cb9a7f14d65b9f9f | |
parent | e028894e2c90e21fc2a1260b61ddffdbb22787ea (diff) | |
download | rabbitmq-server-24d07a16fe6ecb5565ca50ad9e3dba8d95116c25.tar.gz |
cosmetic: remove unnecessary FQ call
-rw-r--r-- | src/rabbit_vhost.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rabbit_vhost.erl b/src/rabbit_vhost.erl index fcf77bf9..8d013d43 100644 --- a/src/rabbit_vhost.erl +++ b/src/rabbit_vhost.erl @@ -122,7 +122,7 @@ with(VHostPath, Thunk) -> end. %% Like with/2 but outside an Mnesia tx -assert(VHostPath) -> case rabbit_vhost:exists(VHostPath) of +assert(VHostPath) -> case exists(VHostPath) of true -> ok; false -> throw({error, {no_such_vhost, VHostPath}}) end. |