summaryrefslogtreecommitdiff
path: root/deps/rabbitmq_cli/lib/rabbitmq/cli/ctl/commands/report_command.ex
diff options
context:
space:
mode:
authorMichael Klishin <mklishin@pivotal.io>2019-03-17 14:01:04 +0300
committerMichael Klishin <mklishin@pivotal.io>2019-03-17 14:01:04 +0300
commitb5d39b2a2f9b9f838a22d69d744c816b354632a1 (patch)
tree2ec734f08ed03f2513fc05505eca9a6446da3548 /deps/rabbitmq_cli/lib/rabbitmq/cli/ctl/commands/report_command.ex
parentbea9cf448684292becc39d7fff4c53d2b233edc0 (diff)
downloadrabbitmq-server-git-b5d39b2a2f9b9f838a22d69d744c816b354632a1.tar.gz
Handle info keys that are strings
Some commands define them as atoms, others as strings.
Diffstat (limited to 'deps/rabbitmq_cli/lib/rabbitmq/cli/ctl/commands/report_command.ex')
-rw-r--r--deps/rabbitmq_cli/lib/rabbitmq/cli/ctl/commands/report_command.ex2
1 files changed, 1 insertions, 1 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