Skip to content

Commit 3eee69a

Browse files
binary_to_atom/1 is not available in Erlang 22.3
so use rabbit_data_coercion:to_atom/1. References 2968
1 parent 078c897 commit 3eee69a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

deps/rabbit/src/rabbit_quorum_queue.erl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ start_cluster(Q) ->
173173
{ok, A} ->
174174
A;
175175
{error, {too_long, N}} ->
176-
binary_to_atom(ra:new_uid(N))
176+
rabbit_data_coercion:to_atom(ra:new_uid(N))
177177
end,
178178
Id = {RaName, node()},
179179
Nodes = select_quorum_nodes(QuorumSize, rabbit_mnesia:cluster_nodes(all)),

0 commit comments

Comments
 (0)