diff options
-rw-r--r-- | deps/rabbitmq_cli/lib/rabbitmq/cli/ctl/commands/report_command.ex | 2 | ||||
-rw-r--r-- | deps/rabbitmq_cli/test/ctl/report_command_test.exs | 3 |
2 files changed, 2 insertions, 3 deletions
diff --git a/deps/rabbitmq_cli/lib/rabbitmq/cli/ctl/commands/report_command.ex b/deps/rabbitmq_cli/lib/rabbitmq/cli/ctl/commands/report_command.ex index 77ff2b72f2..673f95103f 100644 --- a/deps/rabbitmq_cli/lib/rabbitmq/cli/ctl/commands/report_command.ex +++ b/deps/rabbitmq_cli/lib/rabbitmq/cli/ctl/commands/report_command.ex @@ -108,6 +108,6 @@ defmodule RabbitMQ.CLI.Ctl.Commands.ReportCommand do defp info_keys(command) do command.info_keys() - |> Enum.map(&Atom.to_string/1) + |> Enum.map(&to_string/1) end end diff --git a/deps/rabbitmq_cli/test/ctl/report_command_test.exs b/deps/rabbitmq_cli/test/ctl/report_command_test.exs index 75b8b2b9ad..d5fd7c3717 100644 --- a/deps/rabbitmq_cli/test/ctl/report_command_test.exs +++ b/deps/rabbitmq_cli/test/ctl/report_command_test.exs @@ -23,7 +23,6 @@ defmodule ReportTest do setup_all do RabbitMQ.CLI.Core.Distribution.start() - :ok end @@ -36,7 +35,7 @@ defmodule ReportTest do {:validation_failure, :too_many_args} end - test "run: report request on a named, active RMQ node is successful", context do + test "run: report request to a reachable node succeeds", context do output = @command.run([], context[:opts]) |> Enum.to_list assert_stream_without_errors(output) |