mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-08 06:12:51 +00:00
[PR #9442/ec585392 backport][stable-10] Docs: fix its vs. it's (#9458)
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>
(cherry picked from commit ec585392e5)
Co-authored-by: Felix Fontein <felix@fontein.de>
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