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/11/01 01:20:51 UTC

[apisix] branch master updated: docs: fix the code block language (#5381)

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 2400cd7  docs: fix the code block language (#5381)
2400cd7 is described below

commit 2400cd7bb49b13470c9b2c2f2a57aa93e19817bc
Author: 罗泽轩 <sp...@gmail.com>
AuthorDate: Mon Nov 1 09:20:42 2021 +0800

    docs: fix the code block language (#5381)
---
 docs/en/latest/architecture-design/upstream.md | 2 +-
 docs/zh/latest/architecture-design/upstream.md | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/docs/en/latest/architecture-design/upstream.md b/docs/en/latest/architecture-design/upstream.md
index 8f07883..384ac87 100644
--- a/docs/en/latest/architecture-design/upstream.md
+++ b/docs/en/latest/architecture-design/upstream.md
@@ -35,7 +35,7 @@ In addition to the basic complex equalization algorithm selection, APISIX's Upst
 
 Create an upstream object use case:
 
-```json
+```shell
 curl http://127.0.0.1:9080/apisix/admin/upstreams/1 -H 'X-API-KEY: edd1c9f034335f136f87ad84b625c8f1' -X PUT -d '
 {
     "type": "chash",
diff --git a/docs/zh/latest/architecture-design/upstream.md b/docs/zh/latest/architecture-design/upstream.md
index 5327134..3941410 100644
--- a/docs/zh/latest/architecture-design/upstream.md
+++ b/docs/zh/latest/architecture-design/upstream.md
@@ -36,7 +36,7 @@ APISIX 的 Upstream 除了基本的负载均衡算法选择外,还支持对上
 
 创建上游对象用例:
 
-```json
+```shell
 curl http://127.0.0.1:9080/apisix/admin/upstreams/1 -H 'X-API-KEY: edd1c9f034335f136f87ad84b625c8f1' -X PUT -d '
 {
     "type": "chash",