mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
whitespace fix
This commit is contained in:
parent
8e341ad831
commit
8542632a67
1 changed files with 25 additions and 27 deletions
|
@ -100,7 +100,6 @@ module Fog
|
||||||
# Next, create a Relocation Spec instance
|
# Next, create a Relocation Spec instance
|
||||||
relocation_spec = RbVmomi::VIM.VirtualMachineRelocateSpec(:pool => resource_pool,
|
relocation_spec = RbVmomi::VIM.VirtualMachineRelocateSpec(:pool => resource_pool,
|
||||||
:diskMoveType => :moveChildMostDiskBacking)
|
:diskMoveType => :moveChildMostDiskBacking)
|
||||||
|
|
||||||
else
|
else
|
||||||
relocation_spec = RbVmomi::VIM.VirtualMachineRelocateSpec(:pool => resource_pool,
|
relocation_spec = RbVmomi::VIM.VirtualMachineRelocateSpec(:pool => resource_pool,
|
||||||
:transform => options['transform'] || 'sparse')
|
:transform => options['transform'] || 'sparse')
|
||||||
|
@ -110,7 +109,6 @@ module Fog
|
||||||
:powerOn => options['power_on'] || true,
|
:powerOn => options['power_on'] || true,
|
||||||
:template => false)
|
:template => false)
|
||||||
task = vm_mob_ref.CloneVM_Task(:folder => vm_mob_ref.parent, :name => options['name'], :spec => clone_spec)
|
task = vm_mob_ref.CloneVM_Task(:folder => vm_mob_ref.parent, :name => options['name'], :spec => clone_spec)
|
||||||
|
|
||||||
# Waiting for the VM to complete allows us to get the VirtulMachine
|
# Waiting for the VM to complete allows us to get the VirtulMachine
|
||||||
# object of the new machine when it's done. It is HIGHLY recommended
|
# object of the new machine when it's done. It is HIGHLY recommended
|
||||||
# to set 'wait' => true if your app wants to wait. Otherwise, you're
|
# to set 'wait' => true if your app wants to wait. Otherwise, you're
|
||||||
|
|
Loading…
Add table
Reference in a new issue