Skip to content

Commit 5f5e992

Browse files
committed
Extend CLI format output to process check_passed payload
1 parent 68739a6 commit 5f5e992

File tree

1 file changed

+4
-0
lines changed
  • deps/rabbitmq_cli/lib/rabbitmq/cli/core

1 file changed

+4
-0
lines changed

deps/rabbitmq_cli/lib/rabbitmq/cli/core/output.ex

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,10 @@ defmodule RabbitMQ.CLI.Core.Output do
1818
:ok
1919
end
2020

21+
def format_output({:ok, :check_passed, output}, formatter, options) do
22+
{:ok, formatter.format_output(output, options)}
23+
end
24+
2125
def format_output({:ok, output}, formatter, options) do
2226
{:ok, formatter.format_output(output, options)}
2327
end

0 commit comments

Comments
 (0)