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:
parent
86fe2c260e
commit
b0db9f9832
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user