Skip to content
This repository was archived by the owner on Nov 17, 2020. It is now read-only.

Commit 131f68d

Browse files
Naming
[#157817330]
1 parent 0ea7cf1 commit 131f68d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/rabbit_mgmt_wm_vhost.erl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ id(ReqData) ->
9292
rabbit_mgmt_util:id(vhost, ReqData).
9393

9494
put_vhost(Name, Trace, Username) ->
95-
AddVHostResult = case rabbit_vhost:exists(Name) of
95+
Result = case rabbit_vhost:exists(Name) of
9696
true -> ok;
9797
false -> rabbit_vhost:add(Name, Username),
9898
%% wait for up to 15 seconds for the vhost to initialise
@@ -109,7 +109,7 @@ put_vhost(Name, Trace, Username) ->
109109
false -> rabbit_trace:stop(Name);
110110
undefined -> ok
111111
end,
112-
AddVHostResult.
112+
Result.
113113

114114
%% when definitions are loaded on boot, Username here will be ?INTERNAL_USER,
115115
%% which does not actually exist

0 commit comments

Comments
 (0)