diff --git a/pkg/net/rpc/warden/README.md b/pkg/net/rpc/warden/README.md index 3f8021442..127502949 100644 --- a/pkg/net/rpc/warden/README.md +++ b/pkg/net/rpc/warden/README.md @@ -1,4 +1,4 @@ -#### net/rcp/warden +#### net/rpc/warden ##### 项目简介 diff --git a/pkg/net/rpc/warden/client.go b/pkg/net/rpc/warden/client.go index 97a7af882..62ef411d4 100644 --- a/pkg/net/rpc/warden/client.go +++ b/pkg/net/rpc/warden/client.go @@ -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) })