Skip to content

Commit

Permalink
fix: default value of stop_action_after_template_rendering to true
Browse files Browse the repository at this point in the history
This commit changes the default value for the
stop_action_after_template_rendering option of the apply rule HTTP API
endpoint so that it is true instead of false.
  • Loading branch information
kjellwinblad committed Apr 9, 2024
1 parent 43ff2e3 commit 31142df
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion apps/emqx_rule_engine/src/emqx_rule_api_schema.erl
Expand Up @@ -123,7 +123,7 @@ fields("rule_apply_test") ->
#{
desc =>
?DESC("stop_action_after_template_render"),
default => false
default => true
}
)}
];
Expand Down
2 changes: 1 addition & 1 deletion rel/i18n/emqx_rule_api_schema.hocon
Expand Up @@ -73,7 +73,7 @@ test_rule_environment.label:
"""Event Environment"""

stop_action_after_template_render.desc:
"""Set this to true if the action should be stopped after its template has been rendered."""
"""Set this to true if the action should be stopped after its template has been rendered (default is true)."""

stop_action_after_template_render.label:
"""Stop Action After Template Rendering"""
Expand Down

0 comments on commit 31142df

Please sign in to comment.