1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-01-08 21:17:43 +03:00

L #-: Conform with new cops rubocop 1.51.0

This commit is contained in:
Tino Vázquez 2023-05-16 22:33:49 +02:00
parent 86fe2c260e
commit b0db9f9832
2 changed files with 3 additions and 1 deletions

View File

@ -105,6 +105,7 @@ class Logger
}
end
# rubocop:disable Style/ArgumentsForwarding
def error(*args, &block)
@err.error(*args, &block)
end
@ -120,6 +121,7 @@ class Logger
def debug(*args, &block)
@err.debug(*args, &block)
end
# rubocop:enable Style/ArgumentsForwarding
end

View File

@ -293,7 +293,7 @@ module OneProvision
def validate(check_load = true)
self.load if check_load
@config.delete_if {|_k, v| v.nil? }
@config.compact!
parse