chore: fix a typo in function name

This commit is contained in:
Zaiming (Stone) Shi 2023-01-12 18:52:25 +01:00 committed by Thales Macedo Garitezi
parent 618b97870b
commit cdd8de11b0
1 changed files with 2 additions and 2 deletions

View File

@ -1020,10 +1020,10 @@ queue_count(Q) ->
disk_queue_dir(Id, Index) ->
QDir0 = binary_to_list(Id) ++ "_" ++ integer_to_list(Index),
QDir = sanitizy_file_path(QDir0),
QDir = sanitize_file_path(QDir0),
filename:join([emqx:data_dir(), "bufs", node(), QDir]).
sanitizy_file_path(Filepath) ->
sanitize_file_path(Filepath) ->
iolist_to_binary(string:replace(Filepath, ":", "_", all)).
clear_disk_queue_dir(Id, Index) ->