From d9070577905766c787f06b578e8e429a83f3a770 Mon Sep 17 00:00:00 2001 From: Vasiliy Tolstov Date: Fri, 9 Oct 2020 17:44:04 +0300 Subject: [PATCH] add missing metadata Signed-off-by: Vasiliy Tolstov --- grpc.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/grpc.go b/grpc.go index 360fdd1..b36ee71 100644 --- a/grpc.go +++ b/grpc.go @@ -759,6 +759,8 @@ func (g *grpcServer) Register() error { } g.RUnlock() + service.Metadata["protocol"] = "grpc" + service.Metadata["transport"] = "grpc" service.Endpoints = endpoints g.RLock()