Skip to content

Commit

Permalink
Update lib/fog/vsphere/requests/compute/vm_take_snapshot.rb
Browse files Browse the repository at this point in the history
Co-authored-by: Ondřej Ezr <ezrik12@gmail.com>
  • Loading branch information
m-bucher and ezr-ondrej authored Jul 14, 2021
1 parent 1a2d9ba commit fdd2a42
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/fog/vsphere/requests/compute/vm_take_snapshot.rb
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ def vm_take_snapshot(options = {})
quiesce: false
}
vm = get_vm_ref(options['instance_uuid'])
task = vm.CreateSnapshot_Task(defaults.merge(options))
task = vm.CreateSnapshot_Task(defaults.merge(options.transform_keys(&:to_sym)))

task.wait_for_completion

Expand Down

0 comments on commit fdd2a42

Please sign in to comment.