File tree 1 file changed +10
-7
lines changed
1 file changed +10
-7
lines changed Original file line number Diff line number Diff line change @@ -69,6 +69,8 @@ const (
69
69
const (
70
70
defaultDubboProtocol = "zookeeper"
71
71
72
+ dubbogoRegistryType = "interface"
73
+
72
74
traceNameDubbogoClient = "dubbogo-client"
73
75
spanNameDubbogoClient = "DUBBOGO CLIENT"
74
76
@@ -142,13 +144,14 @@ func (dc *Client) Apply() error {
142
144
v .Protocol = defaultDubboProtocol
143
145
}
144
146
rootConfigBuilder .AddRegistry (k , & dg.RegistryConfig {
145
- Protocol : v .Protocol ,
146
- Address : v .Address ,
147
- Timeout : v .Timeout ,
148
- Username : v .Username ,
149
- Password : v .Password ,
150
- Namespace : v .Namespace ,
151
- Group : v .Group ,
147
+ Protocol : v .Protocol ,
148
+ Address : v .Address ,
149
+ Timeout : v .Timeout ,
150
+ Username : v .Username ,
151
+ Password : v .Password ,
152
+ Namespace : v .Namespace ,
153
+ Group : v .Group ,
154
+ RegistryType : dubbogoRegistryType ,
152
155
})
153
156
}
154
157
}
You can’t perform that action at this time.
0 commit comments