cf_light_api 3.0.0.pre4 → 3.0.0.pre5
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 +2 -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: 4c9ffeb20a99ee2e42e7a6e5cc0f9a921fa1cc3e
|
4
|
+
data.tar.gz: dc9fce6b2fbcdddd9e71f30e71c7820c5cd4e5bf
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a4131b36a7f1066eb257a24f8eee360a4ef092db8b010068438d4d2ddb29d21a9232811953979d8ea9ff1f1d029806024d81c08099e76f299cc679d634cbce5b
|
7
|
+
data.tar.gz: fa8136f9402a7c9ff01607fd0d3030083b8078f758e390052710d28dd26a6ef967d25e70bbf2ad9707116b449d7fb046096de810d6655ae5e3b2ae297711d379
|
data/lib/cf_light_api/worker.rb
CHANGED
@@ -356,8 +356,8 @@ class CFLightAPIWorker
|
|
356
356
|
end
|
357
357
|
|
358
358
|
running = false
|
359
|
-
if instances.any?
|
360
|
-
if instances.select{|instance| instance['state'] == 'RUNNING'}.any?
|
359
|
+
if v2_document['instances'].any?
|
360
|
+
if v2_document['instances'].select{|instance| instance['state'] == 'RUNNING'}.any?
|
361
361
|
running = true
|
362
362
|
end
|
363
363
|
end
|