Make text for getting filesystems more grammatically correct (#903)

* Make text for getting filesystems more grammatically correct

Use 'Retry attempt {count} of 10.' instead of Waiting for the {count} time". It's more grammatically correct since we're not doing '1st', '2nd', etc.

* Maybe mention waiting still
This commit is contained in:
Dylan M. Taylor 2022-01-25 09:31:38 -05:00 committed by GitHub
parent eb712a9ca5
commit 5406f1ed45
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -200,7 +200,7 @@ class Filesystem:
raise err
else:
count += 1
log(f"Could not get UUID for partition. Waiting for the {count} time",level=logging.DEBUG)
log(f"Could not get UUID for partition. Waiting before retry attempt {count} of 10 ...",level=logging.DEBUG)
time.sleep(float(storage['arguments'].get('disk-sleep', 0.2)))
else:
log("Add partition is exiting due to excessive wait time",level=logging.INFO)