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