mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-04-25 20:01:25 -07:00
Bug | Error message being swallowed in azure_rm_common.py (#33298)
This commit is contained in:
parent
b10859c192
commit
a18b7d9b01
8 changed files with 11 additions and 28 deletions
|
@ -203,10 +203,7 @@ class AzureRMAvailabilitySet(AzureRMModuleBase):
|
|||
response = None
|
||||
to_be_updated = False
|
||||
|
||||
try:
|
||||
resource_group = self.get_resource_group(self.resource_group)
|
||||
except CloudError:
|
||||
self.fail('resource group {} not found'.format(self.resource_group))
|
||||
resource_group = self.get_resource_group(self.resource_group)
|
||||
if not self.location:
|
||||
self.location = resource_group.location
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue