From df9882417cb4babf803e17977d3190ca0aa4f4e4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jean-S=C3=A9bastien=20P=C3=A9dron?= Date: Tue, 12 Nov 2024 16:42:05 +0100 Subject: [PATCH] rabbit_khepri: Report no partitions from `cli_cluster_status/0` --- deps/rabbit/src/rabbit_khepri.erl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/deps/rabbit/src/rabbit_khepri.erl b/deps/rabbit/src/rabbit_khepri.erl index 7bb586525f97..b20f8bdc3e32 100644 --- a/deps/rabbit/src/rabbit_khepri.erl +++ b/deps/rabbit/src/rabbit_khepri.erl @@ -827,7 +827,8 @@ cli_cluster_status() -> Nodes = locally_known_nodes(), [{nodes, [{disc, Nodes}]}, {running_nodes, [N || N <- Nodes, rabbit_nodes:is_running(N)]}, - {cluster_name, rabbit_nodes:cluster_name()}]; + {cluster_name, rabbit_nodes:cluster_name()}, + {partitions, []}]; false -> [] end.