From a53ec6af87ab4a8ada9b4cc40ad5444e1832bac4 Mon Sep 17 00:00:00 2001 From: Lingxian Kong Date: Fri, 23 Aug 2019 01:20:32 +1200 Subject: [PATCH] os_loadbalancer: Fix the absent function (#61083) --- lib/ansible/modules/cloud/openstack/os_loadbalancer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ansible/modules/cloud/openstack/os_loadbalancer.py b/lib/ansible/modules/cloud/openstack/os_loadbalancer.py index adbe90661a7..0c8ff86cf5f 100644 --- a/lib/ansible/modules/cloud/openstack/os_loadbalancer.py +++ b/lib/ansible/modules/cloud/openstack/os_loadbalancer.py @@ -293,7 +293,7 @@ def _wait_for_lb(module, cloud, lb, status, failures, interval=5): failures = [] while total_sleep < timeout: - lb = cloud.load_balancer.get_load_balancer(lb.id) + lb = cloud.load_balancer.find_load_balancer(lb.id) if lb: if lb.provisioning_status == status: