mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-22 18:50:08 +03:00
(cherry picked from commit 168c4f79b312b91d4dd6c9682cd9f4e49a32bbc9)
This commit is contained in:
parent
b587bf8b94
commit
7ae71e9384
@ -707,10 +707,10 @@ EOT
|
||||
|
||||
return -1, rc.message if OpenNebula.is_error?(rc)
|
||||
|
||||
_, hash = print_page(pool, options)
|
||||
elements, hash = print_page(pool, options)
|
||||
|
||||
if options[:ids] && elements
|
||||
hash.reject! do |element|
|
||||
hash[pool.pool_name][pool.element_name].reject! do |element|
|
||||
!options[:ids].include?(element['ID'].to_i)
|
||||
end
|
||||
end
|
||||
|
Loading…
x
Reference in New Issue
Block a user