mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-04-20 09:21:24 -07: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:
parent
2f82bd8ece
commit
ec585392e5
60 changed files with 88 additions and 88 deletions
|
@ -119,7 +119,7 @@ class RedfishUtils(object):
|
|||
|
||||
# Note: This is also a fallthrough for properties that are
|
||||
# arrays of objects. Some services erroneously omit properties
|
||||
# within arrays of objects when not configured, and it's
|
||||
# within arrays of objects when not configured, and it is
|
||||
# expecting the client to provide them anyway.
|
||||
|
||||
if req_pyld[prop] != cur_pyld[prop]:
|
||||
|
@ -1177,7 +1177,7 @@ class RedfishUtils(object):
|
|||
return response
|
||||
|
||||
# If requested to wait for the service to be available again, block
|
||||
# until it's ready
|
||||
# until it is ready
|
||||
if wait:
|
||||
elapsed_time = 0
|
||||
start_time = time.time()
|
||||
|
@ -1190,7 +1190,7 @@ class RedfishUtils(object):
|
|||
while elapsed_time <= wait_timeout:
|
||||
status = self.check_service_availability()
|
||||
if status['available']:
|
||||
# It's available; we're done
|
||||
# It is available; we are done
|
||||
break
|
||||
time.sleep(5)
|
||||
elapsed_time = time.time() - start_time
|
||||
|
@ -1813,7 +1813,7 @@ class RedfishUtils(object):
|
|||
operation_results['status'] = data.get('TaskState', data.get('JobState'))
|
||||
operation_results['messages'] = data.get('Messages', [])
|
||||
else:
|
||||
# Error response body, which is a bit of a misnomer since it's used in successful action responses
|
||||
# Error response body, which is a bit of a misnomer since it is used in successful action responses
|
||||
operation_results['status'] = 'Completed'
|
||||
if response.status >= 400:
|
||||
operation_results['status'] = 'Exception'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue