1
0
mirror of https://github.com/OpenNebula/one.git synced 2024-12-31 17:17:40 +03:00
* Revert "L #-: Use newer argument forwarding syntax"

This reverts commit ca4645f300.

* L #-: Disable Style/ArgumentsForw. due older ruby
This commit is contained in:
Jan Orel 2024-01-19 13:03:26 +01:00 committed by GitHub
parent eccebc4c00
commit 75ecbae407
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 3 additions and 3 deletions

View File

@ -732,7 +732,7 @@ Style/UnpackFirst:
Enabled: False
Style/ArgumentsForwarding:
Enabled: true
Enabled: False
Style/CollectionCompact:
Enabled: true

View File

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