fix(retainer): fix config lookup error

This commit is contained in:
lafirest 2022-03-03 10:43:08 +08:00
parent cc7db4a104
commit be61d918bf
1 changed files with 1 additions and 1 deletions

View File

@ -187,7 +187,7 @@ to_bin_string(Data) ->
list_to_binary(io_lib:format("~p", [Data])). list_to_binary(io_lib:format("~p", [Data])).
check_backend(Type, Params, Cont) -> check_backend(Type, Params, Cont) ->
case emqx:get_config([retainer, config, type]) of case emqx:get_config([retainer, backend, type]) of
built_in_database -> built_in_database ->
Cont(Type, Params); Cont(Type, Params);
_ -> _ ->