mirror of
https://github.com/OpenNebula/one.git
synced 2026-11-23 05:04:56 +09: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:
1 file changed
+6
-6
@@ -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
|
||||
|
||||
Reference in new issue
Block a user