Skip to content

Commit cead668

Browse files
authored
Merge pull request #12859 from rabbitmq/set-partitions-in-khepri-cli_cluster_status
rabbit_khepri: Report no partitions from `cli_cluster_status/0`
2 parents 84607b7 + df98824 commit cead668

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

deps/rabbit/src/rabbit_khepri.erl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -827,7 +827,8 @@ cli_cluster_status() ->
827827
Nodes = locally_known_nodes(),
828828
[{nodes, [{disc, Nodes}]},
829829
{running_nodes, [N || N <- Nodes, rabbit_nodes:is_running(N)]},
830-
{cluster_name, rabbit_nodes:cluster_name()}];
830+
{cluster_name, rabbit_nodes:cluster_name()},
831+
{partitions, []}];
831832
false ->
832833
[]
833834
end.

0 commit comments

Comments
 (0)