mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-07 13:52:54 +00:00
Docs: fix its vs. it's (#9442)
* Fix its vs. it's. * Improvements from review. Co-authored-by: Alexei Znamensky <103110+russoz@users.noreply.github.com> * Improve formulations. Co-authored-by: Alexei Znamensky <103110+russoz@users.noreply.github.com> --------- Co-authored-by: Alexei Znamensky <103110+russoz@users.noreply.github.com>
This commit is contained in:
@@ -158,7 +158,7 @@ def waitForTaskDone(client, name, taskId, timeout):
|
||||
task = client.get('/ip/{0}/task/{1}'.format(quote_plus(name), taskId))
|
||||
if task['status'] == 'done':
|
||||
return True
|
||||
time.sleep(5) # Delay for 5 sec because it's long to wait completion, do not harass the API
|
||||
time.sleep(5) # Delay for 5 sec to not harass the API
|
||||
currentTimeout -= 5
|
||||
if currentTimeout < 0:
|
||||
return False
|
||||
|
||||
Reference in New Issue
Block a user