fix comment s/list/map

This commit is contained in:
Matt Jaffee 2017-04-14 15:59:54 -05:00 committed by Travis
parent 5cc4080ccf
commit 340cbc0cd0

View file

@ -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 {