Merge pull request #3697 from mqliang/cluster-health

etcdctl: fix health check condition
This commit is contained in:
Xiang Li 2015-10-18 09:26:05 -07:00
commit f08d750b0b

View File

@ -103,7 +103,7 @@ func handleClusterHealth(c *cli.Context) {
}
checked = true
if result.Health == "true" {
if result.Health == "true" || nresult.Health == true {
health = true
fmt.Printf("member %s is healthy: got healthy result from %s\n", m.ID, url)
} else {