Skip to content

Commit

Permalink
driver/vm_mock: nil-out added ISO paths in EjectCdroms
Browse files Browse the repository at this point in the history
  • Loading branch information
Hi-Angel committed Mar 22, 2024
1 parent eb2e51c commit 898d923
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions builder/vsphere/driver/vm_mock.go
Original file line number Diff line number Diff line change
Expand Up @@ -295,6 +295,7 @@ func (vm *VirtualMachineMock) ReattachCDRoms() error {

func (vm *VirtualMachineMock) EjectCdroms() error {
vm.EjectCdromsCalled = true
vm.AddCdromPaths = nil
return vm.EjectCdromsErr
}

Expand Down

0 comments on commit 898d923

Please sign in to comment.