Skip to content

Commit dae4967

Browse files
'ctl auth_clear_cache' => 'ctl clear_auth_backend_cache'
1 parent b0a9f14 commit dae4967

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed
Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
%% Copyright (c) 2007-2025 Broadcom. All Rights Reserved. The term “Broadcom” refers to Broadcom Inc. and/or its subsidiaries. All rights reserved.
66
%%
77

8-
-module('Elixir.RabbitMQ.CLI.Ctl.Commands.AuthClearCacheCommand').
8+
-module('Elixir.RabbitMQ.CLI.Ctl.Commands.ClearAuthBackendCacheCommand').
99

1010
-behaviour('Elixir.RabbitMQ.CLI.CommandBehaviour').
1111

@@ -38,7 +38,7 @@ switches() ->
3838
[].
3939

4040
usage() ->
41-
<<"auth_clear_cache">>.
41+
<<"clear_auth_backend_cache">>.
4242

4343
usage_additional() ->
4444
[].
@@ -50,7 +50,7 @@ help_section() ->
5050
{plugin, rabbitmq_auth_backend_cache}.
5151

5252
description() ->
53-
<<"Clear cache of authorization decisions">>.
53+
<<"Clears rabbitmq_auth_backend_cache plugin's cache on the target node">>.
5454

5555
flags() ->
5656
[].
@@ -65,7 +65,7 @@ merge_defaults(A, O) ->
6565
{A, O}.
6666

6767
banner(_, _) ->
68-
erlang:iolist_to_binary([<<"Will delete all cached authorization decisions">>]).
68+
<<"Will clear rabbitmq_auth_backend_cache plugin's cache on the target node...">>.
6969

7070
run(_Args, #{node := Node}) ->
7171
case rabbit_misc:rpc_call(Node, rabbit_auth_backend_cache, clear_cache_cluster_wide, []) of

0 commit comments

Comments
 (0)