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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d6400fd75b9aaa5a06d160a4f4cbe1d65405e804
4
- data.tar.gz: 0cb3cb26b53cdfb6717f4d61efa3d686cde93111
3
+ metadata.gz: 99fb4d4f0a610a35dc0da0c2a6d8ae405746fb29
4
+ data.tar.gz: 59184040dc54a20f5b9b3a942b3cf01dc159b34b
5
5
  SHA512:
6
- metadata.gz: ecf3fc82a14051f59b70398106648ab810adea2bcc0c09b0d1dd05923b82e7e6cb47778656481743d4965e015ffced13ee70eb7d882c02beecac39fff77c5797
7
- data.tar.gz: 943823965efdafaedb7cd13c3229a7716431f8b31da6a47c69aeebd8f212f6b8b226ce406ae1f8120040ce365769026b7c5c7ed86a2d88a5e409d910c589d804
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
- # begin
14
- client.version
15
- # rescue
16
- # p "WARNING: etcd server unavailable"
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)
@@ -1,3 +1,3 @@
1
1
  module InstructureRegistrar
2
- VERSION = "0.1.11"
2
+ VERSION = "0.1.12"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: instructure_registrar
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.11
4
+ version: 0.1.12
5
5
  platform: ruby
6
6
  authors:
7
7
  - CoralineAda