etcdctl/cluster_health: set health var when checked healthy
This was a typo.release-2.1
parent
8d410bdfcb
commit
cd2a2182cf
|
@ -73,7 +73,7 @@ func handleClusterHealth(c *cli.Context) {
|
|||
|
||||
checked = true
|
||||
if result.Health == "true" {
|
||||
checked = true
|
||||
health = true
|
||||
fmt.Printf("member %s is healthy: got healthy result from %s\n", m.ID, url)
|
||||
} else {
|
||||
fmt.Printf("member %s is unhealthy: got unhealthy result from %s\n", m.ID, url)
|
||||
|
|
Loading…
Reference in New Issue