Displaying 1 result from an estimated 1 matches for "child_pool".
2009 Oct 06
1
[PATCH] Fix refreshing vms list This patch fix vms index view when a smart pool is not destroyed correctly.
...if nested_pools
nested_pools.each do |pool_element|
pool = pool_element[:obj]
- if pool.hasChildren
+ if pool.hasChildren and pool_element.has_key?(:children)
if pool.name == user
pool_element[:children].each do |child_element|
child_pool = child_element[:obj]
user_pools <<[child_pool.name, child_pool.id]
end
else
- if pool_element.has_key?(:children)
- pool_element[:children].each do |child_element|
- child_pool = child_element[:obj]
-...