Default to grpc in registry service for now
This commit is contained in:
parent
11b104677a
commit
cafd280718
@ -6,6 +6,7 @@ import (
|
||||
"time"
|
||||
|
||||
"github.com/micro/go-micro/client"
|
||||
"github.com/micro/go-micro/client/grpc"
|
||||
"github.com/micro/go-micro/registry"
|
||||
pb "github.com/micro/go-micro/registry/service/proto"
|
||||
)
|
||||
@ -149,7 +150,7 @@ func NewRegistry(opts ...registry.Option) registry.Registry {
|
||||
mReg := registry.NewRegistry()
|
||||
|
||||
// create new client with mdns
|
||||
cli := client.NewClient(
|
||||
cli := grpc.NewClient(
|
||||
client.Registry(mReg),
|
||||
)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user