fix(emqx_rule_engine_api): fix dialyzer warnings
This commit is contained in:
parent
e518828d8f
commit
990be9c198
|
@ -334,7 +334,7 @@ update_resource(#{id := Id}, Params) ->
|
||||||
{ok, #resource{id = Id, type = Type} = _OldResource} ->
|
{ok, #resource{id = Id, type = Type} = _OldResource} ->
|
||||||
Config = maps:get(config, ParsedParams),
|
Config = maps:get(config, ParsedParams),
|
||||||
Description = maps:get(description, ParsedParams),
|
Description = maps:get(description, ParsedParams),
|
||||||
emqx_rule_engine:update_resource(
|
_ = emqx_rule_engine:update_resource(
|
||||||
#{id => Id,
|
#{id => Id,
|
||||||
config => Config,
|
config => Config,
|
||||||
type => Type,
|
type => Type,
|
||||||
|
|
Loading…
Reference in New Issue