1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-03-23 22:50:09 +03:00

M #-: fix minor DDC bug due to linting (#117)

This commit is contained in:
Alejandro Huertas Herrero 2020-07-27 14:40:58 +02:00 committed by GitHub
parent 325db91bcb
commit 971bd4a54c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -306,7 +306,7 @@ module OneProvision
def evaluate_erb(provision, root)
if root.is_a? Hash
root.each_pair do |key, value|
case value.class
case value
when Array
root[key] = value.map do |x|
evaluate_erb(provision, x)