You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dubbo.apache.org by ju...@apache.org on 2023/07/09 08:26:21 UTC

[dubbo-website] branch master updated: Update custom-filter.md

This is an automated email from the ASF dual-hosted git repository.

justxuewei pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/dubbo-website.git


The following commit(s) were added to refs/heads/master by this push:
     new 4002c70a73 Update custom-filter.md
4002c70a73 is described below

commit 4002c70a73ea62c29f9f964f5a8dad4a9b52c409
Author: Xuewei Niu <ju...@apache.org>
AuthorDate: Sun Jul 9 16:26:17 2023 +0800

    Update custom-filter.md
---
 .../tutorial/governance/features/custom-filter.md           | 13 ++++---------
 1 file changed, 4 insertions(+), 9 deletions(-)

diff --git a/content/zh-cn/overview/mannual/golang-sdk/tutorial/governance/features/custom-filter.md b/content/zh-cn/overview/mannual/golang-sdk/tutorial/governance/features/custom-filter.md
index fe9f760d2d..53cc444a3a 100644
--- a/content/zh-cn/overview/mannual/golang-sdk/tutorial/governance/features/custom-filter.md
+++ b/content/zh-cn/overview/mannual/golang-sdk/tutorial/governance/features/custom-filter.md
@@ -58,15 +58,10 @@ Filter 采用面向切面设计的思路,通过对 Filter 的合理扩展,
 
 ## 3. 默认加载Filter
 
-用户在配置文件中配置了将要使用的 Filter 时,框架使用用户配置的 Filter,否则则加载默认Filter:
+用户在配置文件中配置了将要使用的 Filters 时,框架使用用户配置的 Filters 和默认 Filters,否则仅加载默认 Filters:
 
-- Consumer:
-
-  cshutdown
-
-- Provider:
-
-  echo, metrics, token, accesslog, tps, generic_service, executivete, pshutdown
+- Consumer: cshutdown
+- Provider: echo, metrics, token, accesslog, tps, generic_service, executivete, pshutdown
 
 ## 4. 用户指定 Filter
 
@@ -117,4 +112,4 @@ func (f *MyClientFilter) OnResponse(ctx context.Context, result protocol.Result,
 	return result
 }
 
-```
\ No newline at end of file
+```