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:
Anna Nowak 2018-10-30 12:50:46 +01:00 committed by ansibot
parent bfbf012da4
commit eb39c461ce
4 changed files with 5 additions and 5 deletions

View file

@ -139,7 +139,7 @@ def main():
result='Detached volume from server'
)
except (sdk.exceptions.OpenStackCloudException, sdk.exceptions.OpenStackCloudTimeout) as e:
except (sdk.exceptions.OpenStackCloudException, sdk.exceptions.ResourceTimeout) as e:
module.fail_json(msg=str(e))