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:
Felix Fontein 2024-12-29 13:29:58 +01:00 committed by GitHub
parent 2f82bd8ece
commit ec585392e5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
60 changed files with 88 additions and 88 deletions

View file

@ -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'