cf_light_api 1.6.1 → 1.6.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/cf_light_api/worker.rb +4 -2
- 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: f8e85b2a89b5202c5f3c51425216b7a46b01e91c
|
4
|
+
data.tar.gz: 649d7c52fa04847678c579c4611fb01c95ba5209
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 011d1a46ecc5fc1a6d682a901f4397110a9579d1e6f3bbe29cbb24587d8fc10594b8a88f947d886f7efc74a22b645ddcd04a10eb5e4e42e48b6574a0975ab565
|
7
|
+
data.tar.gz: fa272193848c2b31fbccf0e467cb10cddca059dbda08019a09caa334b047feac9951b78053c009b01b734b28503b8c461a3f72b5b2cf0a061e75aa6b93f4840b
|
data/lib/cf_light_api/worker.rb
CHANGED
@@ -12,8 +12,10 @@ require 'graphite-api'
|
|
12
12
|
end
|
13
13
|
|
14
14
|
['CF_API', 'CF_USER', 'CF_PASSWORD'].each do |env|
|
15
|
-
|
16
|
-
|
15
|
+
unless ENV[env]
|
16
|
+
@logger.info "Error: please set the '#{env}' environment variable."
|
17
|
+
exit 1
|
18
|
+
end
|
17
19
|
end
|
18
20
|
|
19
21
|
PARALLEL_MAPS = (ENV['PARALLEL_MAPS'] || 4 ).to_i
|