Skip to content

Commit 9f101aa

Browse files
Add a missing CLI command clause #13873
1 parent 4f427f5 commit 9f101aa

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

deps/rabbitmq_cli/lib/rabbitmq/cli/queues/commands/grow_to_count_command.ex

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,10 @@ defmodule RabbitMQ.CLI.Queues.Commands.GrowToCountCommand do
2121
errors_only: :boolean
2222
]
2323

24+
def merge_defaults([], opts) do
25+
{[], Map.merge(default_opts(), opts)}
26+
end
27+
2428
def merge_defaults([node_count | rem], opts) do
2529
args = [String.to_integer(node_count) | rem]
2630
{args, Map.merge(default_opts(), opts)}

0 commit comments

Comments
 (0)