1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-01-11 05:17:41 +03:00

L #-: Use brackets for symbol arrays

This commit is contained in:
Ruben S. Montero 2019-05-21 10:47:25 +02:00
parent 7f4a63d2ec
commit 6e70d45b68
No known key found for this signature in database
GPG Key ID: A0CEA6FA880A1D87
2 changed files with 9 additions and 9 deletions

View File

@ -724,7 +724,7 @@ Style/StderrPuts:
#This breaks Ruby 1.9
Style/SymbolArray:
Enabled: false
EnforcedStyle: brackets
Style/FrozenStringLiteralComment:
Enabled: false

View File

@ -410,7 +410,7 @@ class ExecDriver < VirtualMachineDriver
{
:driver => :vmm,
:action => :cancel,
:parameters => %i[deploy_info host]
:parameters => [:deploy_info, :host]
}
]
}
@ -444,7 +444,7 @@ class ExecDriver < VirtualMachineDriver
{
:driver => :vmm,
:action => :save,
:parameters => %i[deploy_id checkpoint_file host]
:parameters => [:deploy_id, :checkpoint_file, :host]
},
# Execute networking clean up operations
{
@ -487,7 +487,7 @@ class ExecDriver < VirtualMachineDriver
{
:driver => :vmm,
:action => :restore,
:parameters => %i[checkpoint_file host deploy_id]
:parameters => [:checkpoint_file, :host, :deploy_id]
},
# Execute post-boot networking setup
{
@ -498,7 +498,7 @@ class ExecDriver < VirtualMachineDriver
{
:driver => :vmm,
:action => :cancel,
:parameters => %i[deploy_id host]
:parameters => [:deploy_id, :host]
}
]
}
@ -537,7 +537,7 @@ class ExecDriver < VirtualMachineDriver
{
:driver => :vmm,
:action => :migrate,
:parameters => %i[deploy_id dest_host host],
:parameters => [:deploy_id, :dest_host, :host],
:fail_actions => [
{
:driver => :tm,
@ -810,7 +810,7 @@ class ExecDriver < VirtualMachineDriver
{
:driver => :vmm,
:action => :cancel,
:parameters => %i[deploy_id host],
:parameters => [:deploy_id, :host],
:no_fail => true
}
steps <<
@ -827,7 +827,7 @@ class ExecDriver < VirtualMachineDriver
{
:driver => :vmm,
:action => :cancel,
:parameters => %i[deploy_id dest_host],
:parameters => [:deploy_id, :dest_host],
:destination => true,
:no_fail => true
}
@ -1158,7 +1158,7 @@ class ExecDriver < VirtualMachineDriver
{
:driver => :vmm,
:action => signal,
:parameters => %i[deploy_id host]
:parameters => [:deploy_id, :host]
},
# Execute networking clean up operations
{