You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dubbo.apache.org by la...@apache.org on 2021/10/21 08:01:17 UTC
[dubbo-go] 01/01: fix: change default check to true
This is an automated email from the ASF dual-hosted git repository.
laurence pushed a commit to branch ftr/default-check
in repository https://gitbox.apache.org/repos/asf/dubbo-go.git
commit e2021eaf703bd1ac86a02a353e42f3ca6de0f07e
Author: LaurenceLiZhixin <38...@qq.com>
AuthorDate: Thu Oct 21 16:00:29 2021 +0800
fix: change default check to true
---
config/reference_config.go | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/config/reference_config.go b/config/reference_config.go
index d67f641..ac9f6a9 100644
--- a/config/reference_config.go
+++ b/config/reference_config.go
@@ -46,7 +46,7 @@ type ReferenceConfig struct {
pxy *proxy.Proxy
id string
InterfaceName string `required:"true" yaml:"interface" json:"interface,omitempty" property:"interface"`
- Check *bool `default:"false" yaml:"check" json:"check,omitempty" property:"check"`
+ Check *bool `default:"true" yaml:"check" json:"check,omitempty" property:"check"`
URL string `yaml:"url" json:"url,omitempty" property:"url"`
Filter string `yaml:"filter" json:"filter,omitempty" property:"filter"`
Protocol string `default:"dubbo" yaml:"protocol" json:"protocol,omitempty" property:"protocol"`