1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-03-25 02:50:08 +03:00

L #-: Fix linting error

(cherry picked from commit e934b1aeaf1b73caa5a3bdd73e21f8f16faa70e5)
This commit is contained in:
Tino Vazquez 2020-07-22 12:11:03 +02:00
parent c5d22fc8dc
commit 4a88858350
No known key found for this signature in database
GPG Key ID: 2FE9C32E94AEABBE
2 changed files with 2 additions and 2 deletions

View File

@ -325,7 +325,7 @@ module CLIHelper
column[:size] = 5
conf.each do |c|
case c.is_a?
case c.class
when Symbol
column[c] = true
when Hash

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.is_a?
case value.class
when Array
root[key] = value.map do |x|
evaluate_erb(provision, x)