1
0
mirror of https://github.com/go-micro/go-micro.git synced 2024-12-24 10:07:04 +02:00

Tell me what the registry is too

This commit is contained in:
Asim 2016-01-04 23:27:44 +00:00
parent 897115ed31
commit 3e84c23591

View File

@ -194,6 +194,7 @@ func (s *rpcServer) Register() error {
node.Metadata["transport"] = config.Transport.String()
node.Metadata["broker"] = config.Broker.String()
node.Metadata["server"] = s.String()
node.Metadata["registry"] = config.Registry.String()
s.RLock()
var endpoints []*registry.Endpoint