fix(emqx_resource): fix dialyzer warning

This commit is contained in:
EMQ-YangM 2022-03-25 18:15:23 +08:00
parent bb12378806
commit 6b662d87ba
1 changed files with 1 additions and 1 deletions

View File

@ -265,7 +265,7 @@ call_start(InstId, Mod, Config) ->
?SAFE_CALL(Mod:on_start(InstId, Config)).
-spec call_health_check(instance_id(), module(), resource_state()) ->
{ok, resource_state()} | {error, Reason:: term(), resource_state()}.
{ok, resource_state()} | {error, Reason:: term()} | {error, Reason:: term(), resource_state()}.
call_health_check(InstId, Mod, ResourceState) ->
?SAFE_CALL(Mod:on_health_check(InstId, ResourceState)).