FoghostCn commented on code in PR #2534:
URL: https://github.com/apache/dubbo-go/pull/2534#discussion_r1444145729
##########
global/registry_config.go:
##########
@@ -36,7 +36,7 @@ type RegistryConfig struct {
Zone string `yaml:"zone" json:"zone,omitempty"
property:"zone"` // The region where the registry belongs,
usually used to isolate traffics
Weight int64 `yaml:"weight"
json:"weight,omitempty" property:"weight"` // Affects traffic
distribution among registriesConfig, useful when subscribe to multiple
registriesConfig Take effect only when no preferred registry is specified.
Params map[string]string `yaml:"params"
json:"params,omitempty" property:"params"`
- RegistryType string `yaml:"registry-type"`
+ RegistryType string `default:"all" yaml:"registry-type"`
Review Comment:
Yes
--
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]