fix(rule_engine_matrics): remove more space

This commit is contained in:
EMQ-YangM 2022-01-05 19:00:59 -08:00
parent 2608798826
commit d7a3ade200
1 changed files with 2 additions and 2 deletions

View File

@ -94,7 +94,7 @@ do_apply_rule(#rule{id = RuleId,
conditions = Conditions,
on_action_failed = OnFailed,
actions = Actions}, Input) ->
{Selected, Collection} = ?RAISE(select_and_collect(Fields, Input),
{Selected, Collection} = ?RAISE(select_and_collect(Fields, Input),
{select_and_collect_error, {_EXCLASS_,_EXCPTION_,_ST_}}),
ColumnsAndSelected = maps:merge(Input, Selected),
case ?RAISE(match_conditions(Conditions, ColumnsAndSelected),
@ -117,7 +117,7 @@ do_apply_rule(#rule{id = RuleId,
conditions = Conditions,
on_action_failed = OnFailed,
actions = Actions}, Input) ->
Selected = ?RAISE(select_and_transform(Fields, Input),
Selected = ?RAISE(select_and_transform(Fields, Input),
{select_and_transform_error, {_EXCLASS_,_EXCPTION_,_ST_}}),
case ?RAISE(match_conditions(Conditions, maps:merge(Input, Selected)),
{match_conditions_error, {_EXCLASS_,_EXCPTION_,_ST_}}) of