diff options
author | Emile Joubert <emile@rabbitmq.com> | 2011-01-10 15:41:23 +0000 |
---|---|---|
committer | Emile Joubert <emile@rabbitmq.com> | 2011-01-10 15:41:23 +0000 |
commit | 6e192651660bae0262b49f19f0f1b3f99a3f81d7 (patch) | |
tree | ae215a724d353b14008dd91c640c8ff0c1ac229b | |
parent | c916d953626e1c8acb3cd74a8dfc08ef0a0c9e28 (diff) | |
download | rabbitmq-server-6e192651660bae0262b49f19f0f1b3f99a3f81d7.tar.gz |
One less thunk
-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 52ae849c..f5de0cf6 100644 --- a/src/rabbit_vhost.erl +++ b/src/rabbit_vhost.erl @@ -59,7 +59,7 @@ add(VHostPath) -> [_] -> mnesia:abort({vhost_already_exists, VHostPath}) end end, - fun (ok) -> ok end, + fun rabbit_misc:const_ok/1, fun (ok) -> [rabbit_exchange:declare( rabbit_misc:r(VHostPath, exchange, Name), |