Просмотр исходного кода

fix: default value of stop_action_after_template_rendering to true

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.
Kjell Winblad 1 год назад
Родитель
Сommit
31142df5cf

+ 1 - 1
apps/emqx_rule_engine/src/emqx_rule_api_schema.erl

@@ -123,7 +123,7 @@ fields("rule_apply_test") ->
                 #{
                     desc =>
                         ?DESC("stop_action_after_template_render"),
-                    default => false
+                    default => true
                 }
             )}
     ];

+ 1 - 1
rel/i18n/emqx_rule_api_schema.hocon

@@ -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"""