diff --git a/ocis-pkg/service/grpc/service.go b/ocis-pkg/service/grpc/service.go index 58e4f0676af..407a04d8bb4 100644 --- a/ocis-pkg/service/grpc/service.go +++ b/ocis-pkg/service/grpc/service.go @@ -33,7 +33,7 @@ func NewService(opts ...Option) Service { // first add a server because it will reset any options micro.Server(mgrpcs.NewServer()), // also add a client that can be used after initializing the service - micro.Client(mgrpcc.NewClient()), + micro.Client(DefaultClient), micro.Address(sopts.Address), micro.Name(strings.Join([]string{sopts.Namespace, sopts.Name}, ".")), micro.Version(sopts.Version),