mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-23 05:10:22 -07:00
Fix casing/underscore convention in method name, split polling logic away from runner.
This commit is contained in:
parent
6d580aea02
commit
db1d5b154a
4 changed files with 104 additions and 7 deletions
|
@ -101,7 +101,7 @@ class Cli(object):
|
|||
|
||||
if options.seconds:
|
||||
print "background launch...\n\n"
|
||||
results, poller = runner.runAsync(options.seconds)
|
||||
results, poller = runner.run_async(options.seconds)
|
||||
results = self.poll_while_needed(poller, options)
|
||||
else:
|
||||
results = runner.run()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue