From 340cbc0cd05a5702f703724b581972846d5d5301 Mon Sep 17 00:00:00 2001 From: Matt Jaffee Date: Fri, 14 Apr 2017 15:59:54 -0500 Subject: [PATCH] fix comment s/list/map --- cluster.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cluster.go b/cluster.go index a3678ad00..e9c6bb2c1 100644 --- a/cluster.go +++ b/cluster.go @@ -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 {