From cafd280718fffb7a08349ecded1fbf7b70b3d162 Mon Sep 17 00:00:00 2001 From: Asim Aslam Date: Sun, 19 Jan 2020 01:13:14 +0000 Subject: [PATCH] Default to grpc in registry service for now --- registry/service/service.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/registry/service/service.go b/registry/service/service.go index 5a70cee7..42aa89d8 100644 --- a/registry/service/service.go +++ b/registry/service/service.go @@ -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), )