fix(emqx_resource): fix InstId type error

This commit is contained in:
zhanghongtong 2021-10-21 10:54:05 +08:00 committed by x1001100011
parent 2def7e4ac2
commit 74b63f7d68
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_misc:gen_id(16), InstId = iolist_to_binary(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()) ->