fix(resource): fix undefined function

This commit is contained in:
zhouzb 2021-09-16 16:53:43 +08:00
parent 9df842eeb8
commit ddfc010fdb
1 changed files with 1 additions and 1 deletions

View File

@ -172,7 +172,7 @@ create_dry_run(ResourceType, Config) ->
-spec create_dry_run_local(resource_type(), resource_config()) -> -spec create_dry_run_local(resource_type(), resource_config()) ->
ok | {error, Reason :: term()}. ok | {error, Reason :: term()}.
create_dry_run_local(ResourceType, Config) -> create_dry_run_local(ResourceType, Config) ->
InstId = emqx_plugin_libs_id:gen(16), InstId = emqx_misc:gen_id(16),
call_instance(InstId, {create_dry_run, InstId, ResourceType, Config}). call_instance(InstId, {create_dry_run, InstId, ResourceType, Config}).
-spec recreate(instance_id(), resource_type(), resource_config(), term()) -> -spec recreate(instance_id(), resource_type(), resource_config(), term()) ->