This is an automated email from the ASF dual-hosted git repository.
wenming 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 dba2229e6 docs: weighted_upstreams of traffic-split support
configuring scheme field (#11741)
dba2229e6 is described below
commit dba2229e6bbfc14489f28b9ecbdf86e4930034f3
Author: Nic <[email protected]>
AuthorDate: Thu Dec 5 17:26:02 2024 +0800
docs: weighted_upstreams of traffic-split support configuring scheme field
(#11741)
---
docs/en/latest/plugins/traffic-split.md | 2 +-
docs/zh/latest/plugins/traffic-split.md | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/docs/en/latest/plugins/traffic-split.md
b/docs/en/latest/plugins/traffic-split.md
index 3a206a924..9eb00d651 100644
--- a/docs/en/latest/plugins/traffic-split.md
+++ b/docs/en/latest/plugins/traffic-split.md
@@ -63,7 +63,7 @@ The traffic ratio between Upstream services may be less
accurate since round rob
:::note
-Some of the configuration fields supported in Upstream are not supported in
weighted_upstreams.upstream. These fields are `service_name`, `discovery_type`,
`checks`, `retries`, `retry_timeout`, `desc`, `scheme`, `labels`,
`create_time`, and `update_time`.
+Some of the configuration fields supported in Upstream are not supported in
weighted_upstreams.upstream. These fields are `service_name`, `discovery_type`,
`checks`, `retries`, `retry_timeout`, `desc`, `labels`, `create_time`, and
`update_time`.
As a workaround, you can create an Upstream object and configure it in
`weighted_upstreams.upstream_id` to achieve these functionalities.
diff --git a/docs/zh/latest/plugins/traffic-split.md
b/docs/zh/latest/plugins/traffic-split.md
index 0cd3874d0..1a725ae98 100644
--- a/docs/zh/latest/plugins/traffic-split.md
+++ b/docs/zh/latest/plugins/traffic-split.md
@@ -61,7 +61,7 @@ description: 本文介绍了 Apache APISIX traffic-split 插件的相关操作
:::note 注意
-目前 `weighted_upstreams.upstream` 的配置不支持
`service_name`、`discovery_type`、`checks`、`retries`、`retry_timeout`、`desc`、`scheme`、`labels`、`create_time`
和 `update_time` 等字段。如果你需要使用这些字段,可以在创建上游对象时指定这些字段,然后在该插件中配置
`weighted_upstreams.upstream_id` 属性即可。
+目前 `weighted_upstreams.upstream` 的配置不支持
`service_name`、`discovery_type`、`checks`、`retries`、`retry_timeout`、`desc`、`labels`、`create_time`
和 `update_time` 等字段。如果你需要使用这些字段,可以在创建上游对象时指定这些字段,然后在该插件中配置
`weighted_upstreams.upstream_id` 属性即可。
:::