proper fill server metadata
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
This commit is contained in:
parent
2f6c352a57
commit
edaf9eaaa6
4
grpc.go
4
grpc.go
@ -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()
|
||||||
|
Loading…
Reference in New Issue
Block a user