mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-26 06:50:09 +03:00
parent
76bc1813f0
commit
2c600e9936
@ -710,8 +710,8 @@ EOT
|
||||
elements, hash = print_page(pool, options)
|
||||
|
||||
if options[:ids] && elements
|
||||
arr = [hash[pool.pool_name][pool.element_name]].flatten
|
||||
arr.reject! do |element|
|
||||
hash = [hash[pool.pool_name][pool.element_name]].flatten
|
||||
hash.reject! do |element|
|
||||
!options[:ids].include?(element['ID'].to_i)
|
||||
end
|
||||
end
|
||||
|
Loading…
x
Reference in New Issue
Block a user