You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by sp...@apache.org on 2021/08/10 00:43:55 UTC

[apisix] branch master updated: docs: fix spelling (#4725)

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

spacewander pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/apisix.git


The following commit(s) were added to refs/heads/master by this push:
     new e502977  docs: fix spelling (#4725)
e502977 is described below

commit e502977eae627e9a694bcef4ef34380fc9e7c3a5
Author: John Bampton <jb...@users.noreply.github.com>
AuthorDate: Tue Aug 10 10:43:46 2021 +1000

    docs: fix spelling (#4725)
---
 apisix/core/dns/client.lua          | 2 +-
 docs/en/latest/admin-api.md         | 2 +-
 docs/en/latest/plugins/limit-req.md | 4 ++--
 docs/zh/latest/admin-api.md         | 2 +-
 4 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/apisix/core/dns/client.lua b/apisix/core/dns/client.lua
index 2e05374..a6dbfb3 100644
--- a/apisix/core/dns/client.lua
+++ b/apisix/core/dns/client.lua
@@ -125,7 +125,7 @@ function _M.resolve(self, domain, selector)
         return table.deepcopy(answer)
     end
 
-    return nil, "unsupport DNS answer"
+    return nil, "unsupported DNS answer"
 end
 
 
diff --git a/docs/en/latest/admin-api.md b/docs/en/latest/admin-api.md
index c86f745..b1b409a 100644
--- a/docs/en/latest/admin-api.md
+++ b/docs/en/latest/admin-api.md
@@ -557,7 +557,7 @@ In addition to the basic complex equalization algorithm selection, APISIX's Upst
 |create_time     |optional| epoch timestamp in second, like `1602883670`, will be created automatically if missing|1602883670|
 |update_time     |optional| epoch timestamp in second, like `1602883670`, will be created automatically if missing|1602883670|
 |tls.client_cert |optional| Set the client certificate when connecting to TLS upstream, see below for more details||
-|tls.client_key  |optional| Set the client priviate key when connecting to TLS upstream, see below for more details||
+|tls.client_key  |optional| Set the client private key when connecting to TLS upstream, see below for more details||
 |keepalive_pool.size  |optional| Set `keepalive` directive dynamically, see below for more details||
 |keepalive_pool.idle_timeout  |optional| Set `keepalive_timeout` directive dynamically, see below for more details||
 |keepalive_pool.requests  |optional| Set `keepalive_requests` directive dynamically, see below for more details||
diff --git a/docs/en/latest/plugins/limit-req.md b/docs/en/latest/plugins/limit-req.md
index a52b17d..67e2b9c 100644
--- a/docs/en/latest/plugins/limit-req.md
+++ b/docs/en/latest/plugins/limit-req.md
@@ -26,7 +26,7 @@ title: limit-req
   - [Introduction](#introduction)
   - [Attributes](#attributes)
   - [Example](#example)
-    - [How to enable on the `route` or `serivce`](#how-to-enable-on-the-route-or-serivce)
+    - [How to enable on the `route` or `service`](#how-to-enable-on-the-route-or-service)
     - [How to enable on the `consumer`](#how-to-enable-on-the-consumer)
   - [Disable Plugin](#disable-plugin)
 
@@ -49,7 +49,7 @@ limit request rate using the "leaky bucket" method.
 
 ## Example
 
-### How to enable on the `route` or `serivce`
+### How to enable on the `route` or `service`
 
 Take `route` as an example (the use of `service` is the same method), enable the `limit-req` plugin on the specified route.
 
diff --git a/docs/zh/latest/admin-api.md b/docs/zh/latest/admin-api.md
index a49790f..5c42057 100644
--- a/docs/zh/latest/admin-api.md
+++ b/docs/zh/latest/admin-api.md
@@ -328,7 +328,7 @@ HTTP/1.1 200 OK
 | create_time      | 可选                               | 辅助     | 单位为秒的 epoch 时间戳,如果不指定则自动创建                          | 1602883670                                       |
 | update_time      | 可选                               | 辅助     | 单位为秒的 epoch 时间戳,如果不指定则自动创建                          | 1602883670                                       |
 
-serivce 对象 json 配置内容:
+service 对象 json 配置内容:
 
 ```shell
 {