1
0
mirror of https://github.com/go-kratos/kratos.git synced 2025-03-17 21:07:54 +02:00

fix typo, remove discovery as default

This commit is contained in:
wei cheng 2019-06-24 10:48:56 +08:00
parent 64495e5362
commit cf8c793095
No known key found for this signature in database
GPG Key ID: 5AF7E34E6A971D7F
2 changed files with 1 additions and 2 deletions

View File

@ -1,4 +1,4 @@
#### net/rcp/warden
#### net/rpc/warden
##### 项目简介

View File

@ -169,7 +169,6 @@ func NewClient(conf *ClientConfig, opt ...grpc.DialOption) *Client {
// DefaultClient returns a new default Client instance with a default client interceptor and default dialoption.
// opt can be used to add grpc dial options.
func DefaultClient() *Client {
resolver.Register(discovery.Builder())
_once.Do(func() {
_defaultClient = NewClient(nil)
})