proper fill server metadata

Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
This commit is contained in:
Василий Толстов 2020-10-29 21:11:24 +03:00
parent 2f6c352a57
commit edaf9eaaa6

View File

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