bug #1510: sunstone now lists all environments

This commit is contained in:
Javi Fontan committed 2012-09-26 18:33:15 +02:00
1 parent 86ecda3354
commit 2777af98c2
1 file changed
+2 -1
+2 -1
View File
@@ -23,7 +23,8 @@ helpers do
end
def appstage_pool
pool = OpenNebula::ChefDocPool.new(client())
pool = OpenNebula::ChefDocPool.new(client(),
OpenNebula::ChefDocPool::INFO_ALL)
rc = pool.info
return [500, rc.to_json] if OpenNebula.is_error?(rc)
[200, pool.to_hash.to_json]