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)

(cherry picked from commit 971bd4a54cc1d7f1fb1ac8e0f80890273d2b7dd0)
This commit is contained in:
Alejandro Huertas Herrero 2020-07-27 14:40:58 +02:00 committed by Ruben S. Montero
parent 0277a66382
commit 81b47d96be
No known key found for this signature in database
GPG Key ID: A0CEA6FA880A1D87

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)