mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-04-25 03:41: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
|
@ -324,11 +324,7 @@ class AzureRMLoadBalancer(AzureRMModuleBase):
|
|||
pip = None
|
||||
load_balancer_props = dict()
|
||||
|
||||
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
|
||||
load_balancer_props['location'] = self.location
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue