Преглед изворни кода

docs: apply doc suggestions from code review

Co-authored-by: Thales Macedo Garitezi <thalesmg@gmail.com>
zmstone пре 1 година
родитељ
комит
62acbb7e31
2 измењених фајлова са 3 додато и 3 уклоњено
  1. 2 2
      changes/ce/feat-13773.en.md
  2. 1 1
      rel/i18n/emqx_rule_api_schema.hocon

+ 2 - 2
changes/ce/feat-13773.en.md

@@ -1,7 +1,7 @@
-Disabled rule actions now no trigger emits `out_of_service` warning.
+Disabled rule actions now do not trigger `out_of_service` warnings.
 
 Previously, if an action is disabled, there would be a warning log with `msg: out_of_service`,
-and the `actions.failed` counter is incremented for the rule.
+and the `actions.failed` counter was incremented for the rule.
 
 After this enhancement, disabled action will result in a `debug` level log with `msg: discarded`,
 and the newly introduced counter `actions.discarded` will be incremented.

+ 1 - 1
rel/i18n/emqx_rule_api_schema.hocon

@@ -25,7 +25,7 @@ metrics_actions_failed_unknown.label:
 """Unknown Failures"""
 
 metrics_actions_discarded.desc:
-"""The number of discarded actions due to action is disabled or race condition while action is being deleted."""
+"""The number of discarded actions due to action being disabled or race condition while action is being deleted."""
 
 metrics_actions_discarded.label:
 """Discarded"""