fix(retainer): fix config lookup error
This commit is contained in:
parent
cc7db4a104
commit
be61d918bf
|
@ -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);
|
||||||
_ ->
|
_ ->
|
||||||
|
|
Loading…
Reference in New Issue