소스 검색

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`,
 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`,
 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.
 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"""
 """Unknown Failures"""
 
 
 metrics_actions_discarded.desc:
 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:
 metrics_actions_discarded.label:
 """Discarded"""
 """Discarded"""