From 1fb9b41d0f09ef59bc6883264990224e61823627 Mon Sep 17 00:00:00 2001 From: Tino Vazquez Date: Tue, 16 Jul 2019 12:42:11 +0200 Subject: [PATCH] L #-: Fix for new linting rule In rubocop 0.73.0 Style/MultilineWhenThen https://rubocop.readthedocs.io/en/latest/cops_style/#stylemultilinewhenthen --- src/cli/one_helper/oneprovision_helper.rb | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/cli/one_helper/oneprovision_helper.rb b/src/cli/one_helper/oneprovision_helper.rb index 08f1179ae6..e5e385b76c 100644 --- a/src/cli/one_helper/oneprovision_helper.rb +++ b/src/cli/one_helper/oneprovision_helper.rb @@ -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