mirror of https://github.com/ansible/ansible.git
Return None for DC in case of detached storage domain (#29175)
The following patch fixes a regression when trying to remove a detached storage domain. As part of the remove process the ovirt_storage_domains module first tries to move the domain to maintenance and detach it. In case of removing a detached storage domain with no DC attached to it The maintenace process will fail with 404 (not exists) exception when trying to fetch the DC using empty Guid. The fix proposes a solution to return None value in case of a detached storage domain.pull/30337/head
parent
5e3177e29d
commit
65749bd432
Loading…
Reference in New Issue