Skip to content

Commit b64ebf1

Browse files
committed
Fix formatter crash
Before: ``` FORMATTER CRASH: {"Waiting for ~ts queues and streams to have quorum+1 replicas online.You can list them with `rabbitmq-diagnostics check_if_node_is_quorum_critical`","\t"} ``` After: ``` Waiting for 9 queues and streams to have quorum+1 replicas online. You can list them with `rabbitmq-diagnostics check_if_node_is_quorum_critical` ```
1 parent f0f7500 commit b64ebf1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

deps/rabbit/src/rabbit_upgrade_preparation.erl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ do_await_safe_online_quorum(IterationsLeft) ->
6666
0 ->
6767
case length(EndangeredQueues) of
6868
0 -> ok;
69-
N -> rabbit_log:info("Waiting for ~ts queues and streams to have quorum+1 replicas online."
69+
N -> rabbit_log:info("Waiting for ~p queues and streams to have quorum+1 replicas online. "
7070
"You can list them with `rabbitmq-diagnostics check_if_node_is_quorum_critical`", [N])
7171
end,
7272
case endangered_critical_components() of

0 commit comments

Comments
 (0)