1
0
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:
Tino Vázquez 2023-05-19 11:48:38 +02:00
parent 7f0ca81616
commit dd79db35ec
No known key found for this signature in database
GPG Key ID: 14201E424D02047E

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