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:
parent
eb712a9ca5
commit
5406f1ed45
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in New Issue