Skip to content

Commit 8c0e23b

Browse files
michaelklishinmergify[bot]
authored andcommitted
Explain why list_vhosts does not list metadata such as DQT by default
(cherry picked from commit 3e9c6a9)
1 parent 09ca903 commit 8c0e23b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

deps/rabbitmq_cli/lib/rabbitmq/cli/ctl/commands/list_vhosts_command.ex

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@ defmodule RabbitMQ.CLI.Ctl.Commands.ListVhostsCommand do
1919
use RabbitMQ.CLI.Core.AcceptsDefaultSwitchesAndTimeout
2020

2121
def merge_defaults([], opts) do
22+
# this default historically benefits those who script using 'rabbitmqctl list_vhosts',
23+
# adding more fields here would break scripts but be more useful to a human reader. MK.
2224
merge_defaults(["name"], opts)
2325
end
2426

0 commit comments

Comments
 (0)