2
0
mirror of https://github.com/etcd-io/etcd.git synced 2024-09-27 06:25:44 +00:00

Merge pull request from yichengq/err-example

client: fix clusterError typo in README
This commit is contained in:
Yicheng Qin 2015-08-14 09:35:31 -07:00
commit d448593bbc

@ -74,7 +74,7 @@ if err != nil {
// ctx is canceled by another routine
} else if err == context.DeadlineExceeded {
// ctx is attached with a deadline and it exceeded
} else if cerr, ok := err.(ClusterError); ok {
} else if cerr, ok := err.(*client.ClusterError); ok {
// process (cerr.Errors)
} else {
// bad cluster endpoints, which are not etcd servers