instructure_registrar 0.1.11 → 0.1.12
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/instructure_registrar/client.rb +4 -6
- data/lib/instructure_registrar/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 99fb4d4f0a610a35dc0da0c2a6d8ae405746fb29
|
4
|
+
data.tar.gz: 59184040dc54a20f5b9b3a942b3cf01dc159b34b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 71759b6caff9ebac1b5365e62a7e9a1612332abcdc96c9d724871234710a3d4fd5cededeed544268704292cd5c98acc3e7f4ca48da182cb9209b392d8eb948fc
|
7
|
+
data.tar.gz: 24e7f34eca90109815c5b9d8479b4527718c0b27daa0ff6268b671b0e2540ef9c49880950788b0fa869d10ebd45377f32cc471cb5596233bf91dc1b3ef076ed1
|
@@ -10,12 +10,10 @@ module InstructureRegistrar
|
|
10
10
|
end
|
11
11
|
|
12
12
|
def healthcheck
|
13
|
-
|
14
|
-
|
15
|
-
#
|
16
|
-
|
17
|
-
# false
|
18
|
-
# end
|
13
|
+
client.version
|
14
|
+
rescue
|
15
|
+
p "WARNING: etcd server unavailable at #{InstructureRegistrar.config.registry_host}:#{InstructureRegistrar.config.registry_port}"
|
16
|
+
false
|
19
17
|
end
|
20
18
|
|
21
19
|
def lookup(service_name)
|