arkaan 0.10.27 → 0.10.28
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/arkaan/utils/micro_service.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: 3ce03e324f854519713b7bb1820116976ce41ada
|
4
|
+
data.tar.gz: d441b906dd8da3839cfc6a1dd7bf396657090104
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e4864ff82a81de048cd0f6ec05725b461bf73f17637ad270b70d6f7d6cae310eff6cd6885232eceadfe15ca8b72296e3fc0a0ab039683aca3374fc3af8742e62
|
7
|
+
data.tar.gz: 5a53e1b949ec214b6af3e6b04301f97b58ff5858f49c6e9e7859e78bb8643e979157965cc5e0aa06b26830b654a74ec71f161c4b12ade205149d832269c20328
|
@@ -97,7 +97,7 @@ module Arkaan
|
|
97
97
|
def register_instance
|
98
98
|
@instance = @service.instances.where(url: ENV['SERVICE_URL']).first
|
99
99
|
if instance.nil?
|
100
|
-
type = ENV['INSTANCE_TYPE'] || :heroku
|
100
|
+
type = ENV['INSTANCE_TYPE'].to_sym || :heroku
|
101
101
|
@instance = Arkaan::Monitoring::Instance.create(service: @service, url: ENV['SERVICE_URL'], type: type)
|
102
102
|
end
|
103
103
|
instance.update_attribute(:running, true)
|