mirror of
https://github.com/datarhei/core.git
synced 2025-10-06 00:17:07 +08:00
Refactor cluster.About() data
This commit is contained in:
@@ -541,6 +541,7 @@ func (n *node) About() NodeAbout {
|
||||
Name: about.Name,
|
||||
Address: n.address,
|
||||
State: state.String(),
|
||||
Error: n.peerErr,
|
||||
CreatedAt: createdAt,
|
||||
Uptime: time.Since(createdAt),
|
||||
LastContact: n.lastContact,
|
||||
|
Reference in New Issue
Block a user