This is an automated email from the ASF dual-hosted git repository.
dengliming pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/incubator-shenyu-website.git
The following commit(s) were added to refs/heads/main by this push:
new b4a61aa3c3 Fix incorrect configuration doc (#532)
b4a61aa3c3 is described below
commit b4a61aa3c3433c851e98d8f37d74680287a1695c
Author: 李晨亮 <[email protected]>
AuthorDate: Wed Apr 13 15:57:51 2022 +0800
Fix incorrect configuration doc (#532)
* Solve the problem that "nacosNameSpace: ShenyuRegisterCenter" is written
in the wrong location
* 1.Resolve missing "register:" and "http:" levels in config
2.Solve the problem of incorrect configuration item configuration
---
docs/user-guide/register-center-access.md | 4 ++--
.../version-2.4.2/user-guide/register-center-access.md | 13 ++++++++-----
2 files changed, 10 insertions(+), 7 deletions(-)
diff --git a/docs/user-guide/register-center-access.md
b/docs/user-guide/register-center-access.md
index 99c8bd845c..75a4322bcf 100644
--- a/docs/user-guide/register-center-access.md
+++ b/docs/user-guide/register-center-access.md
@@ -385,6 +385,8 @@ shenyu:
register:
registerType: nacos
serverLists: localhost:8848
+ props:
+ nacosNameSpace: ShenyuRegisterCenter
client:
http:
props:
@@ -392,8 +394,6 @@ shenyu:
appName: http
port: 8188
isFull: false
- props:
- nacosNameSpace: ShenyuRegisterCenter
# registerType : register type, set nacos
# serverList: when register type is nacos, add nacos address list
# port: your project port number; apply to springmvc/tars/grpc
diff --git
a/i18n/zh/docusaurus-plugin-content-docs/version-2.4.2/user-guide/register-center-access.md
b/i18n/zh/docusaurus-plugin-content-docs/version-2.4.2/user-guide/register-center-access.md
index edce0ed1e5..248500f787 100644
---
a/i18n/zh/docusaurus-plugin-content-docs/version-2.4.2/user-guide/register-center-access.md
+++
b/i18n/zh/docusaurus-plugin-content-docs/version-2.4.2/user-guide/register-center-access.md
@@ -365,15 +365,18 @@ shenyu:
```yaml
shenyu:
- client:
+ register:
registerType: nacos
serverLists: localhost:8848
props:
- contextPath: /http
- appName: http
- port: 8188
- isFull: false
nacosNameSpace: ShenyuRegisterCenter
+ client:
+ http:
+ props:
+ contextPath: /http
+ appName: http
+ port: 8188
+ isFull: false
# registerType : 服务注册类型,填写 nacos
# serverList: 为nacos注册类型时,填写nacos地址,多个地址用英文逗号分隔
# port: 你本项目的启动端口,目前springmvc/tars/grpc需要进行填写