chore: return undefined fuzzy searching func

This commit is contained in:
JianBo He 2022-11-16 17:46:30 +08:00 committed by Zaiming (Stone) Shi
parent 28d391f26c
commit 8f7337c9d2
1 changed files with 2 additions and 0 deletions

View File

@ -211,6 +211,8 @@ update_ms(share_group, X, {{Pid, Topic}, Opts}) ->
update_ms(qos, X, {{Pid, Topic}, Opts}) -> update_ms(qos, X, {{Pid, Topic}, Opts}) ->
{{Pid, Topic}, Opts#{qos => X}}. {{Pid, Topic}, Opts#{qos => X}}.
fuzzy_filter_fun([]) ->
undefined;
fuzzy_filter_fun(Fuzzy) -> fuzzy_filter_fun(Fuzzy) ->
fun(MsRaws) when is_list(MsRaws) -> fun(MsRaws) when is_list(MsRaws) ->
lists:filter( lists:filter(