Skip to content

Commit 81933e9

Browse files
michaelklishinmergify[bot]
authored andcommitted
Only expose message_size_stats command to rabbitmq-diagnostics
The whole point of introducing rabbitmq-diagnostics, rabbitmq-queues, rabbitmq-streams is to stop growing the ctl command list, which has been massive even five years ago. (cherry picked from commit 42e99dd)
1 parent b454679 commit 81933e9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

deps/rabbitmq_cli/lib/rabbitmq/cli/diagnostics/commands/message_size_stats_command.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ defmodule RabbitMQ.CLI.Diagnostics.Commands.MessageSizeStatsCommand do
1111

1212
@default_timeout 60_000
1313

14-
def scopes(), do: [:ctl, :diagnostics]
14+
def scopes(), do: [:diagnostics]
1515

1616
def switches(), do: [timeout: :integer]
1717
def aliases(), do: [t: :timeout]

0 commit comments

Comments
 (0)