fix(emqx_retainer): fix function 'create_resource'
This commit is contained in:
parent
fae91d72f2
commit
79badcb403
|
@ -480,6 +480,7 @@ create_resource(Context, #{type := DB} = Config) ->
|
|||
ResourceID = erlang:iolist_to_binary([io_lib:format("~ts_~ts", [?APP, DB])]),
|
||||
case emqx_resource:create(
|
||||
ResourceID,
|
||||
<<"default">>,
|
||||
list_to_existing_atom(io_lib:format("~ts_~ts", [emqx_connector, DB])),
|
||||
Config) of
|
||||
{ok, already_created} ->
|
||||
|
|
Loading…
Reference in New Issue