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 be43ba9 docs: bind route to correct upstream_id in the example (#5380)
be43ba9 is described below
commit be43ba9dd291dc6ebcc18d160c159c8b7b0b2014
Author: Xunzhuo <[email protected]>
AuthorDate: Sun Oct 31 19:19:30 2021 +0800
docs: bind route to correct upstream_id in the example (#5380)
---
docs/zh/latest/architecture-design/upstream.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/docs/zh/latest/architecture-design/upstream.md
b/docs/zh/latest/architecture-design/upstream.md
index 56eb7ff..5327134 100644
--- a/docs/zh/latest/architecture-design/upstream.md
+++ b/docs/zh/latest/architecture-design/upstream.md
@@ -54,7 +54,7 @@ curl http://127.0.0.1:9080/apisix/admin/upstreams/1 -H
'X-API-KEY: edd1c9f034335
curl http://127.0.0.1:9080/apisix/admin/routes/1 -H 'X-API-KEY:
edd1c9f034335f136f87ad84b625c8f1' -X PUT -d '
{
"uri": "/index.html",
- "upstream_id": 2
+ "upstream_id": 1
}'
```