mirror of
https://github.com/featurebasedb/featurebase.git
synced 2026-09-07 17:15:56 +00:00
fix comment s/list/map
This commit is contained in:
parent
5cc4080ccf
commit
340cbc0cd0
1 changed files with 1 additions and 1 deletions
|
|
@ -121,7 +121,7 @@ func (c *Cluster) NodeSetHosts() []string {
|
|||
return a
|
||||
}
|
||||
|
||||
// Health returns a list of nodes in the cluster along with each node's state (UP/DOWN).
|
||||
// Health returns a map of nodes in the cluster with each node's state (UP/DOWN) as the value.
|
||||
func (c *Cluster) Health() map[string]string {
|
||||
h := make(map[string]string)
|
||||
for _, n := range c.Nodes {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue