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

This commit is contained in:
Yuwei Zhou 2018-04-11 10:22:27 -07:00 committed by ansibot
parent cc1c7c63db
commit 8a0c192c36

View file

@ -731,7 +731,7 @@ class AzureRMLoadBalancer(AzureRMModuleBase):
load_balancing_rules=load_balancing_rules_param 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: elif self.state == 'absent' and changed:
self.delete_load_balancer() self.delete_load_balancer()
self.results['state'] = None self.results['state'] = None