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 committed 2019-07-16 12:43:13 +02:00
1 parent 23c1ae8e82
commit 1fb9b41d0f
1 file changed
+6 -6
+6 -6
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