1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-03-22 18:50:08 +03:00

L #-: Use newer argument forwarding syntax

(cherry picked from commit ca4645f30026403cbe4d8af6a61d10ba158c427b)
This commit is contained in:
Tino Vázquez 2024-01-17 16:22:51 +01:00
parent ef4020d4ef
commit fbe5aa9941
No known key found for this signature in database
GPG Key ID: 14201E424D02047E

View File

@ -102,10 +102,10 @@ module OpenNebula
@one_pool.to_json
end
def each(&block)
def each(...)
return if @one_pool.nil?
@one_pool.each(&block)
@one_pool.each(...)
end
# Iterates over pool pages