fix(emqx_rule_engine_api): fix dialyzer warnings

This commit is contained in:
ayodele.akingbule 2021-01-04 11:11:23 +01:00 committed by Zaiming Shi
parent e518828d8f
commit 990be9c198
1 changed files with 1 additions and 1 deletions

View File

@ -334,7 +334,7 @@ update_resource(#{id := Id}, Params) ->
{ok, #resource{id = Id, type = Type} = _OldResource} ->
Config = maps:get(config, ParsedParams),
Description = maps:get(description, ParsedParams),
emqx_rule_engine:update_resource(
_ = emqx_rule_engine:update_resource(
#{id => Id,
config => Config,
type => Type,