-
Notifications
You must be signed in to change notification settings - Fork 46
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Storage: Do not register issues when skipping entries at the config (#…
…1696) ## Problem At the storage configuration, it's possible to specify a section describing a device (drive, partition, volume group, logical volume, etc.) with a `search` entry to indicate such a description corresponds to one or several previously existing device(s) that should be found in the system. That `search` entry can contain `ifNotFound: "skip"` to indicate the description should be ignored if the corresponding devices are not found. If that happens, a warning is added to the list of found issues with a message like "_No device found for an optional drive/partition/whatever_". That warning looks overkill. Especially having into account the default value for `ifNotFound` is "error", which means profiles using "skip" really mean it. ## Solution Reduce the noise by not longer generating the issue for missing optional devices.
- Loading branch information
Showing
5 changed files
with
21 additions
and
51 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
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
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