Skip to content

Commit 5d45fc9

Browse files
term_to_binary_compat:queue_name_to_binary/1 was superseded
1 parent fe0e846 commit 5d45fc9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/rabbit_queue_index.erl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -565,7 +565,7 @@ queue_name_to_dir_name(#resource { kind = queue,
565565
rabbit_misc:format("~.36B", [Num]).
566566

567567
queue_name_to_dir_name_legacy(Name = #resource { kind = queue }) ->
568-
<<Num:128>> = erlang:md5(term_to_binary_compat:queue_name_to_binary(Name)),
568+
<<Num:128>> = erlang:md5(term_to_binary_compat:term_to_binary_1(Name)),
569569
rabbit_misc:format("~.36B", [Num]).
570570

571571
queues_base_dir() ->

0 commit comments

Comments
 (0)