Skip to content

Commit

Permalink
Merge pull request #2374 from wellbehavedsoftware/fix-2373
Browse files Browse the repository at this point in the history
etcdtcl: fix etcdctl cluster-health ignores SSL settings
  • Loading branch information
xiang90 committed Feb 25, 2015
2 parents 6648b7e + 05ecdbc commit ecf7c27
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions etcdctl/command/cluster_health.go
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ func handleClusterHealth(c *cli.Context) {

// is raft stable and making progress?
client = etcd.NewClient([]string{ep})
client.SetTransport(tr)
resp, err := client.Get("/", false, false)
if err != nil {
fmt.Println("cluster is unhealthy")
Expand Down

0 comments on commit ecf7c27

Please sign in to comment.