etcd/etcdserver/api
Gyu-Ho Lee 2feb8ba545 v3rpc/rpctypes: use codes.FailedPrecondition for ErrGRPCNotLeader
Changes ErrGRPCNotLeader error code to FailedPrecondition,
to disable retry with unavailable.

Signed-off-by: Gyu-Ho Lee <gyuhox@gmail.com>
2017-10-20 14:28:17 -07:00
..
etcdhttp etcdserver/api/etcdhttp: document package in doc.go 2017-10-06 10:47:47 -07:00
v2http *: fix 'ineffassign' issues 2017-10-03 10:14:33 -07:00
v2v3 *: fix 'ineffassign' issues 2017-10-03 10:14:33 -07:00
v3client *: replace 'golang.org/x/net/context' with 'context' 2017-09-07 13:39:42 -07:00
v3election *: replace 'golang.org/x/net/context' with 'context' 2017-09-07 13:39:42 -07:00
v3lock *: replace 'golang.org/x/net/context' with 'context' 2017-09-07 13:39:42 -07:00
v3rpc v3rpc/rpctypes: use codes.FailedPrecondition for ErrGRPCNotLeader 2017-10-20 14:28:17 -07:00
capability.go api: default to V3 capability 2017-03-02 14:02:09 -08:00
cluster.go etcdhttp, v2http, etcdserver: use etcdserver.{Server,ServerV2} interfaces 2017-08-31 11:47:40 -07:00
doc.go *: add missing godoc package descriptions 2016-05-27 15:15:26 -07:00