mirror of
https://github.com/datarhei/core.git
synced 2025-10-27 18:00:26 +08:00
Promote core version in cluster about
This commit is contained in:
@@ -1369,6 +1369,7 @@ type ClusterNodeCore struct {
|
||||
Error error
|
||||
LastContact time.Duration
|
||||
Latency time.Duration
|
||||
Version string
|
||||
}
|
||||
|
||||
type ClusterAboutLeader struct {
|
||||
@@ -1458,6 +1459,7 @@ func (c *cluster) About() (ClusterAbout, error) {
|
||||
Error: nodeAbout.Core.Error,
|
||||
LastContact: nodeAbout.Core.LastContact,
|
||||
Latency: nodeAbout.Core.Latency,
|
||||
Version: nodeAbout.Core.Version,
|
||||
},
|
||||
Resources: ClusterNodeResources{
|
||||
IsThrottling: nodeAbout.Resources.IsThrottling,
|
||||
|
||||
Reference in New Issue
Block a user