-
Notifications
You must be signed in to change notification settings - Fork 138
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve 'Maintenance required' advice #2394
Transitions our prior is_pool_missing_dev() to: pool_missing_dev_count() to be used, in concert with the recently added, and moved/expanded in this patch, PROFILE const, to inform our Pool object of this 'count' and to in turn express a redundancy_exceeded property. The new missing count and redundancy_exceeded properties are then used primarily to inform our "Maintenance required" user facing text re advice. And to enhance our prior "Some missing" text to be a little more numerical. ## Includes: - Additional test data in the transitioned existing test for the modified code. - Fix for transitioned test where not all test data sets were referenced (missing .append() use). - Unrelated black formatting: most notably in btrfs.py.
- Loading branch information
Showing
7 changed files
with
266 additions
and
93 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.