etcdctl:fix health check condition

This commit is contained in:
mqliang 2015-10-17 09:02:58 +08:00 committed by Yicheng Qin
parent 4dc835c718
commit 15f7b736e4

View File

@ -89,7 +89,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 {