Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix:
r/vsphere_vm_storage_policy
delete method check for use (#1863)
Modify the `resourceVMStoragePolicyDelete` method to check the response of `pbmClient.DeleteProfile()` API call for errors and re-throw them. As a result, if a policy is in use and cannot be deleted, the destroy operation will fail and the policy will remain in the state.
- Loading branch information