bzp2010 commented on code in PR #10950:
URL: https://github.com/apache/apisix/pull/10950#discussion_r1676780533
##########
apisix/discovery/nacos/schema.lua:
##########
@@ -54,6 +54,49 @@ return {
},
access_key = {type = 'string', default = ''},
secret_key = {type = 'string', default = ''},
+ hosts = {
Review Comment:
If we change the configuration file to the above format, the redundant
nesting called `hosts` is unnecessary, i.e. the configuration should be:
```
discovery:
nacos:
host: xxx
```
Or,
```
discovery:
nacos:
- id: default
host: xxx
- id: test
host: xxx
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]