etcd-tools 0.4.1 → 0.4.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +8 -8
- data/lib/etcd-tools/mixins/etcd.rb +8 -2
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
---
|
|
2
2
|
!binary "U0hBMQ==":
|
|
3
3
|
metadata.gz: !binary |-
|
|
4
|
-
|
|
4
|
+
ZDEyMzBmODFkNmM1ZjA1ZDEyOGUxNzNiNzQ0OWU0OGQ3MGE4ZGEyNw==
|
|
5
5
|
data.tar.gz: !binary |-
|
|
6
|
-
|
|
6
|
+
ODk5YzYxMWM4ZTE3ODUwMWFmMWIyMTRhNTg5YzE4ZDczNmRhZjY5ZA==
|
|
7
7
|
SHA512:
|
|
8
8
|
metadata.gz: !binary |-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
9
|
+
NWM0ZDFjMGZlNDM0NmVlOTQ4ZmFjOTE3Y2Q2MDU2YWNhNTE4ZmVkMWY2MGUy
|
|
10
|
+
MWNhNDkwMzEwYzc4MjEyNzkyZTQ0MjkxYTMwMTBhOTI4MmY0OTNhMjQ4YjUx
|
|
11
|
+
OTY0Y2UxYTMwYzNiZjA0NWViZWQ5OTQ2MGQ1MmRiZmY3YWQ5MDc=
|
|
12
12
|
data.tar.gz: !binary |-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
13
|
+
NDAzMWMwOGVmMDA4MmQ1ZjNhYjVmMjVmYzE2MzhjODM5YzU1Mjg5ZGUyYjQy
|
|
14
|
+
OTQ0M2U3ZmM2ZmI5MTMzNTdiNTQ1ZTg3MzZjNjhhOTVhN2FmOTI5MDcyZDE5
|
|
15
|
+
MTlhMTAxZmZlZTdkMjlmZDE4YTcwN2RmZDJmZTQ0NTNhNjdlOGY=
|
|
@@ -51,11 +51,17 @@ module Etcd
|
|
|
51
51
|
Log.debug("Response body: #{res.body}")
|
|
52
52
|
return process_http_request(res)
|
|
53
53
|
rescue Timeout::Error
|
|
54
|
-
Log.debug("
|
|
54
|
+
Log.debug("Connection timed out on #{member[:host]}:#{member[:host]}")
|
|
55
|
+
next
|
|
56
|
+
rescue Errno::ECONNRESET
|
|
57
|
+
Log.debug("Connection reset on #{member[:host]}:#{member[:host]}")
|
|
58
|
+
next
|
|
59
|
+
rescue Errno::ECONNREFUSED
|
|
60
|
+
Log.debug("Connection refused on #{member[:host]}:#{member[:host]}")
|
|
55
61
|
next
|
|
56
62
|
end
|
|
57
|
-
fail
|
|
58
63
|
end
|
|
64
|
+
fail "Couldn't connect to the ETCDcluster"
|
|
59
65
|
end
|
|
60
66
|
|
|
61
67
|
def build_http_object(host, port, options={})
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: etcd-tools
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.4.
|
|
4
|
+
version: 0.4.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Radek 'blufor' Slavicinsky
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2016-
|
|
11
|
+
date: 2016-04-30 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: etcd
|