This is an automated email from the ASF dual-hosted git repository. membphis pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/incubator-apisix.git
The following commit(s) were added to refs/heads/master by this push: new 56b6a6e doc: fix doc style of plugin fault-injection (#1321) 56b6a6e is described below commit 56b6a6e3ea0ef89ce0834e1a249a003d263d78af Author: kv <gxt...@163.com> AuthorDate: Sun Mar 22 19:25:03 2020 +0800 doc: fix doc style of plugin fault-injection (#1321) --- doc/plugins/fault-injection.md | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/doc/plugins/fault-injection.md b/doc/plugins/fault-injection.md index da51044..cb895ef 100644 --- a/doc/plugins/fault-injection.md +++ b/doc/plugins/fault-injection.md @@ -17,13 +17,12 @@ # --> -[Chinese](fault-injection-cn.md) +# [Chinese](fault-injection-cn.md) ## Name Fault injection plugin, this plugin can be used with other plugins and will be executed before other plugins. The `abort` attribute will directly return the user-specified http code to the client and terminate the subsequent plugins. The `delay` attribute will delay a request and execute subsequent plugins. - ## Attributes |Name |Requirement |Description| @@ -36,7 +35,7 @@ Note: `abort` and `delay` must have at least one. ## How To Enable -#### Enable the plugin +### Enable the plugin 1: enable the fault-injection plugin for a specific route and specify the abort attributeļ¼ @@ -118,7 +117,6 @@ user 0m0.007s sys 0m0.010s ``` - ## Disable Plugin Remove the corresponding JSON in the plugin configuration to disable the plugin immediately without restarting the service: