mirror of
https://github.com/go-micro/go-micro.git
synced 2024-12-24 10:07:04 +02:00
Add broker and server to metadata
This commit is contained in:
parent
ecdaea7a67
commit
227adc490c
@ -192,6 +192,8 @@ func (s *rpcServer) Register() error {
|
||||
}
|
||||
|
||||
node.Metadata["transport"] = config.Transport.String()
|
||||
node.Metadata["broker"] = config.Broker.String()
|
||||
node.Metadata["server"] = s.String()
|
||||
|
||||
s.RLock()
|
||||
var endpoints []*registry.Endpoint
|
||||
|
Loading…
Reference in New Issue
Block a user