Skip to content

Commit baff660

Browse files
committed
use right dummy type
1 parent ff12d3b commit baff660

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

deps/rabbitmq_management/src/rabbit_mgmt_wm_queues.erl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ content_types_provided(ReqData, Context) ->
4646

4747
resource_exists(ReqData, {Mode, Context}) ->
4848
%% just checking that the vhost requested exists
49-
{case rabbit_mgmt_util:all_or_one_vhost(ReqData, fun (_) -> ok end) of
49+
{case rabbit_mgmt_util:all_or_one_vhost(ReqData, fun (_) -> [] end) of
5050
vhost_not_found -> false;
5151
_ -> true
5252
end, ReqData, {Mode, Context}}.

0 commit comments

Comments
 (0)