mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 21:32:49 +00:00
cloudstack: use poll_job() from utils
This commit is contained in:
@@ -327,7 +327,7 @@ class AnsibleCloudStackLBRule(AnsibleCloudStack):
|
||||
self.module.fail_json(msg="Failed: '%s'" % res['errortext'])
|
||||
poll_async = self.module.params.get('poll_async')
|
||||
if poll_async:
|
||||
res = self._poll_job(res, 'loadbalancer')
|
||||
res = self.poll_job(res, 'loadbalancer')
|
||||
return rule
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user