mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-22 18:50:08 +03:00
(cherry picked from commit 2c600e9936266d041f19c3f235e35354d40fb0fe)
This commit is contained in:
parent
727959b922
commit
7b4c62ea39
@ -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