Skip to content

Commit 0da2ee8

Browse files
Merge pull request #14381 from lukebakken/lukebakken/pr-14118-followup
Do not "pre convert" `running_nodes` to strings
2 parents b6dcca0 + 3e235a6 commit 0da2ee8

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)