mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-29 18:50:08 +03:00
L #-: Using compact instead of delete_if
This commit is contained in:
parent
7f0ca81616
commit
dd79db35ec
@ -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…
x
Reference in New Issue
Block a user