Skip to content

Commit b67d484

Browse files
committed
rabbit_khepri: Report no partitions from cli_cluster_status/0
1 parent fe73d97 commit b67d484

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
@@ -821,7 +821,8 @@ cli_cluster_status() ->
821821
Nodes = locally_known_nodes(),
822822
[{nodes, [{disc, Nodes}]},
823823
{running_nodes, [N || N <- Nodes, rabbit_nodes:is_running(N)]},
824-
{cluster_name, rabbit_nodes:cluster_name()}];
824+
{cluster_name, rabbit_nodes:cluster_name()},
825+
{partitions, []}];
825826
false ->
826827
[]
827828
end.

0 commit comments

Comments
 (0)