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:
parent
c5d22fc8dc
commit
4a88858350
@ -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
|
||||
|
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user