Fixes new created lb doesn't return anything (#38560)

pull/38361/merge
Yuwei Zhou 7 years ago committed by ansibot
parent cc1c7c63db
commit 8a0c192c36

@ -731,7 +731,7 @@ class AzureRMLoadBalancer(AzureRMModuleBase):
load_balancing_rules=load_balancing_rules_param
)
self.create_or_update_load_balancer(param)
self.results['state'] = self.create_or_update_load_balancer(param)
elif self.state == 'absent' and changed:
self.delete_load_balancer()
self.results['state'] = None

Loading…
Cancel
Save