add missing metadata

Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
This commit is contained in:
Василий Толстов 2020-10-09 17:44:04 +03:00
parent ff05219e28
commit d907057790

View File

@ -759,6 +759,8 @@ func (g *grpcServer) Register() error {
}
g.RUnlock()
service.Metadata["protocol"] = "grpc"
service.Metadata["transport"] = "grpc"
service.Endpoints = endpoints
g.RLock()