We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 44b1613 commit a52137eCopy full SHA for a52137e
2 files changed
compose.yaml
@@ -2,13 +2,6 @@ version: '3'
2
3
services:
4
etcd:
5
- # image: bitnamilegacy/etcd:3.5
6
- # environment:
7
- # - ALLOW_NONE_AUTHENTICATION=yes
8
- # - ETCD_ADVERTISE_CLIENT_URLS=http://etcd:2379
9
- # ports:
10
- # - "2379:2379"
11
- # - "2380:2380"
12
image: quay.io/coreos/etcd:v3.5.0
13
container_name: etcd
14
environment:
src/retry.rs
@@ -15,6 +15,7 @@ use {
15
///
16
pub fn is_transient(err: &etcd_client::Error) -> bool {
17
match err {
18
+ etcd_client::Error::TransportError(_) => true,
19
etcd_client::Error::GRpcStatus(status) => match status.code() {
20
tonic::Code::Ok => false,
21
tonic::Code::Cancelled => false,
0 commit comments