mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-05-28 03:49:09 -07:00
Fix missing exceptions (#45775)
* Replace non-existing OpenStackCloudTimeout exception. Fixes: #45151 * Replace OpenStackCloudURINotFound that doesn't exist in the 'exceptions' module
This commit is contained in:
parent
bfbf012da4
commit
eb39c461ce
4 changed files with 5 additions and 5 deletions
|
@ -124,7 +124,7 @@ def _absent_volume(module, cloud, sdk):
|
|||
changed = cloud.delete_volume(name_or_id=module.params['display_name'],
|
||||
wait=module.params['wait'],
|
||||
timeout=module.params['timeout'])
|
||||
except sdk.exceptions.OpenStackCloudTimeout:
|
||||
except sdk.exceptions.ResourceTimeout:
|
||||
module.exit_json(changed=changed)
|
||||
|
||||
module.exit_json(changed=changed)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue