Skip to content

Commit 481cd04

Browse files
authored
Merge pull request #862 from agrare/fix_delete_snapshot_arguments
Fix wrong number of arguments delete_snapshot_by_description
2 parents 4bfc30c + 5f9cd33 commit 481cd04

File tree

1 file changed

+1
-1
lines changed
  • app/models/manageiq/providers/vmware/infra_manager/scanning

1 file changed

+1
-1
lines changed

app/models/manageiq/providers/vmware/infra_manager/scanning/job.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ def delete_snapshot_by_description(mor)
191191
begin
192192
password_decrypt = ManageIQ::Password.decrypt(miqVimHost[:password])
193193
require 'VMwareWebService/MiqVim'
194-
miqVim = MiqVim.new(server, miqVimHost[:username], password_decrypt)
194+
miqVim = MiqVim.new(:server => server, :username => miqVimHost[:username], :password => password_decrypt)
195195

196196
vimVm = miqVim.getVimVm(vm.path)
197197
vimVm.removeSnapshotByDescription(mor, true) unless vimVm.nil?

0 commit comments

Comments
 (0)