vendor: update grpc/grpc-go for clientconn patch

This commit is contained in:
Gyu-Ho Lee
2016-08-18 20:17:24 -07:00
parent f4b6ed2469
commit 01471481a9
5 changed files with 48 additions and 35 deletions

View File

@ -170,9 +170,9 @@ func Invoke(ctx context.Context, method string, args, reply interface{}, cc *Cli
if _, ok := err.(*rpcError); ok {
return err
}
if err == errConnClosing {
if err == errConnClosing || err == errConnUnavailable {
if c.failFast {
return Errorf(codes.Unavailable, "%v", errConnClosing)
return Errorf(codes.Unavailable, "%v", err)
}
continue
}