Skip to content

Commit 4b09415

Browse files
committed
Cleanup leftover code and comments, and multiline log message
1 parent 8c09e6c commit 4b09415

File tree

2 files changed

+4
-7
lines changed

2 files changed

+4
-7
lines changed

deps/rabbitmq_web_dispatch/priv/schema/rabbitmq_web_dispatch.schema

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@
77
%% ===========================================================================
88
%% Auth Backends
99

10-
%% Select an authentication backend to use for the management plugin. RabbitMQ provides an
11-
%% internal backend in the core.
10+
%% Select an authentication backend to use for rabbitmq_web_dispatch (HTTP).
11+
%% RabbitMQ provides an internal backend in the core.
1212
%%
1313
%% {http_dispatch.auth_backends, [rabbit_auth_backend_internal]},
1414

@@ -95,6 +95,3 @@ end}.
9595
{mapping, "http_dispatch.auth_backends.$num.authz", "rabbitmq_web_dispatch.auth_backends",[
9696
{datatype, atom}
9797
]}.
98-
99-
%{mapping, "management.test_config", "rabbitmq_management.test_config",
100-
% [{datatype, {enum, [true, false]}}]}.

deps/rabbitmq_web_dispatch/src/rabbit_web_dispatch_access_control.erl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -366,7 +366,7 @@ is_basic_auth_disabled(#auth_settings{basic_auth_enabled = Enabled}) ->
366366
get_auth_backends() ->
367367
case application:get_env(rabbitmq_web_dispatch, auth_backends) of
368368
{ok, Backends} -> {ok, Backends};
369-
undefined -> rabbit_log:debug("rabbitmq_web_dispatch.auth_backends not configured,
370-
falling back to rabbit.auth_backends"),
369+
undefined -> rabbit_log:debug("rabbitmq_web_dispatch.auth_backends not "
370+
"configured, falling back to rabbit.auth_backends"),
371371
application:get_env(rabbit, auth_backends)
372372
end.

0 commit comments

Comments
 (0)