Skip to content

Commit ebffd7d

Browse files
committed
Format leader healthcheck result log and function exports
1 parent 5f5e992 commit ebffd7d

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

deps/rabbit/src/rabbit_quorum_queue.erl

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,8 @@
8282
file_handle_other_reservation/0,
8383
file_handle_release_reservation/0]).
8484

85-
-export([leader_health_check/2, run_leader_health_check/4]).
85+
-export([leader_health_check/2,
86+
run_leader_health_check/4]).
8687

8788
-ifdef(TEST).
8889
-export([filter_promotable/2,
@@ -2221,4 +2222,4 @@ check_process_limit_safety(QCount, ProcessLimitThreshold) ->
22212222
maybe_log_leader_health_check_result([]) -> ok;
22222223
maybe_log_leader_health_check_result(Result) ->
22232224
Qs = lists:map(fun(R) -> catch maps:get(<<"readable_name">>, R) end, Result),
2224-
rabbit_log:warning("Leader health check result (unhealthy leaders detected): ~ts", [Qs]).
2225+
rabbit_log:warning("Leader health check result (unhealthy leaders detected): ~tp", [Qs]).

0 commit comments

Comments
 (0)