Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
A destroy would complete as a false positive when deleting a .`vmdk` and would leave the file since the `DeleteDatastoreFile_Task `could not delete a VMDK. This change updates the methods used in the `deleteFile` function. - If the source file is a `.vmdk`, the Delete method uses the correct `DeleteVirtualDisk_Task`. - If the source file is not a `.vmdk`, the Delete method uses the correct `DeleteDatastoreFile_Task`. Signed-off-by: Ryan Johnson <[email protected]>
- Loading branch information