Skip to content

Commit b19fd89

Browse files
Merge pull request #14382 from rabbitmq/mergify/bp/v4.1.x/pr-14381
Do not "pre convert" `running_nodes` to strings (backport #14381)
2 parents d9cbc41 + b91b427 commit b19fd89

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)