fix(rule_engine_matrics): remove more space
This commit is contained in:
parent
2608798826
commit
d7a3ade200
|
@ -94,7 +94,7 @@ do_apply_rule(#rule{id = RuleId,
|
||||||
conditions = Conditions,
|
conditions = Conditions,
|
||||||
on_action_failed = OnFailed,
|
on_action_failed = OnFailed,
|
||||||
actions = Actions}, Input) ->
|
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_}}),
|
{select_and_collect_error, {_EXCLASS_,_EXCPTION_,_ST_}}),
|
||||||
ColumnsAndSelected = maps:merge(Input, Selected),
|
ColumnsAndSelected = maps:merge(Input, Selected),
|
||||||
case ?RAISE(match_conditions(Conditions, ColumnsAndSelected),
|
case ?RAISE(match_conditions(Conditions, ColumnsAndSelected),
|
||||||
|
@ -117,7 +117,7 @@ do_apply_rule(#rule{id = RuleId,
|
||||||
conditions = Conditions,
|
conditions = Conditions,
|
||||||
on_action_failed = OnFailed,
|
on_action_failed = OnFailed,
|
||||||
actions = Actions}, Input) ->
|
actions = Actions}, Input) ->
|
||||||
Selected = ?RAISE(select_and_transform(Fields, Input),
|
Selected = ?RAISE(select_and_transform(Fields, Input),
|
||||||
{select_and_transform_error, {_EXCLASS_,_EXCPTION_,_ST_}}),
|
{select_and_transform_error, {_EXCLASS_,_EXCPTION_,_ST_}}),
|
||||||
case ?RAISE(match_conditions(Conditions, maps:merge(Input, Selected)),
|
case ?RAISE(match_conditions(Conditions, maps:merge(Input, Selected)),
|
||||||
{match_conditions_error, {_EXCLASS_,_EXCPTION_,_ST_}}) of
|
{match_conditions_error, {_EXCLASS_,_EXCPTION_,_ST_}}) of
|
||||||
|
|
Loading…
Reference in New Issue