mirror of
https://github.com/OpenNebula/one.git
synced 2025-02-18 17:57:24 +03:00
L #-: Fix for new linting rule
In rubocop 0.73.0 Style/MultilineWhenThen https://rubocop.readthedocs.io/en/latest/cops_style/#stylemultilinewhenthen
This commit is contained in:
parent
23c1ae8e82
commit
1fb9b41d0f
@ -176,12 +176,12 @@ class OneProvisionHelper < OpenNebulaHelper::OneHelper
|
||||
options,
|
||||
operation[:message]) do |obj|
|
||||
case type
|
||||
when 'HOST' then host_operation(obj,
|
||||
operation,
|
||||
options,
|
||||
args[1])
|
||||
when 'DATASTORE' then datastore_operation(obj, operation)
|
||||
when 'VNET' then vnet_operation(obj, operation)
|
||||
when 'HOST'
|
||||
host_operation(obj, operation, options, args[1])
|
||||
when 'DATASTORE'
|
||||
datastore_operation(obj, operation)
|
||||
when 'VNET'
|
||||
vnet_operation(obj, operation)
|
||||
end
|
||||
end
|
||||
end
|
||||
|
Loading…
x
Reference in New Issue
Block a user