summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon MacMullen <simon@rabbitmq.com>2010-08-04 16:29:51 +0100
committerSimon MacMullen <simon@rabbitmq.com>2010-08-04 16:29:51 +0100
commit48aaafebaebf971d5a6affc5e22fca7346ac4282 (patch)
tree0f869f9e1ab5d6289568459150c886800c1587b9
parentc596ac517edbc679c841b68dd07993d37fc42676 (diff)
downloadrabbitmq-server-git-48aaafebaebf971d5a6affc5e22fca7346ac4282.tar.gz
Cosmetics.
-rw-r--r--src/rabbit_access_control.erl6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/rabbit_access_control.erl b/src/rabbit_access_control.erl
index c1243e3fd6..8d00f59124 100644
--- a/src/rabbit_access_control.erl
+++ b/src/rabbit_access_control.erl
@@ -328,10 +328,10 @@ set_permissions(Username, VHostPath, ConfigurePerm, WritePerm, ReadPerm) ->
set_permissions(ScopeBin, Username, VHostPath, ConfigurePerm, WritePerm, ReadPerm) ->
lists:map(fun validate_regexp/1, [ConfigurePerm, WritePerm, ReadPerm]),
Scope = case ScopeBin of
- <<"client">> -> client;
+ <<"client">> -> client;
<<"all">> -> all;
- _ -> throw({error, {invalid_scope, ScopeBin}})
- end,
+ _ -> throw({error, {invalid_scope, ScopeBin}})
+ end,
rabbit_misc:execute_mnesia_transaction(
rabbit_misc:with_user_and_vhost(
Username, VHostPath,