1
0
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:
Tino Vazquez 2019-07-16 12:42:11 +02:00
parent 23c1ae8e82
commit 1fb9b41d0f
No known key found for this signature in database
GPG Key ID: 2FE9C32E94AEABBE

View File

@ -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