Skip to content

Commit

Permalink
Fix formatter crash
Browse files Browse the repository at this point in the history
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`
```
  • Loading branch information
mkuratczyk committed Sep 13, 2024
1 parent f0f7500 commit b64ebf1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion deps/rabbit/src/rabbit_upgrade_preparation.erl
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ do_await_safe_online_quorum(IterationsLeft) ->
0 ->
case length(EndangeredQueues) of
0 -> ok;
N -> rabbit_log:info("Waiting for ~ts queues and streams to have quorum+1 replicas online."
N -> rabbit_log:info("Waiting for ~p queues and streams to have quorum+1 replicas online. "
"You can list them with `rabbitmq-diagnostics check_if_node_is_quorum_critical`", [N])
end,
case endangered_critical_components() of
Expand Down

0 comments on commit b64ebf1

Please sign in to comment.