Skip to content

Commit b91b427

Browse files
lukebakkenmergify[bot]
authored andcommitted
Do not "pre convert" running_nodes to strings
Follow-up to #14118 (cherry picked from commit 3e235a6)
1 parent d9cbc41 commit b91b427

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -275,7 +275,7 @@ defmodule RabbitMQ.CLI.Ctl.Commands.ClusterStatusCommand do
275275
cluster_tags: result |> Keyword.get(:cluster_tags, []),
276276
disk_nodes: result |> Keyword.get(:nodes, []) |> Keyword.get(:disc, []),
277277
ram_nodes: result |> Keyword.get(:nodes, []) |> Keyword.get(:ram, []),
278-
running_nodes: result |> Keyword.get(:running_nodes, []) |> Enum.map(&to_string/1),
278+
running_nodes: result |> Keyword.get(:running_nodes, []),
279279
alarms: Keyword.get(result, :alarms) |> Keyword.values() |> Enum.concat() |> Enum.uniq(),
280280
maintenance_status: Keyword.get(result, :maintenance_status, []) |> Enum.into(%{}),
281281
partitions: Keyword.get(result, :partitions, []) |> Enum.into(%{}),

0 commit comments

Comments
 (0)