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