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:
parent
64495e5362
commit
cf8c793095
@ -1,4 +1,4 @@
|
||||
#### net/rcp/warden
|
||||
#### net/rpc/warden
|
||||
|
||||
##### 项目简介
|
||||
|
||||
|
@ -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)
|
||||
})
|
||||
|
Loading…
x
Reference in New Issue
Block a user