Merge pull request #37524 from jschmid1/dont_skip_unavailable_devices

python-common: do not skip unavailable devices

Reviewed-by: Jan Fajerski <jfajerski@suse.com>
This commit is contained in:
Kefu Chai 2020-10-04 13:44:17 +08:00 committed by GitHub
commit abbd7fdb95
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -115,11 +115,6 @@ class DriveSelection(object):
for disk in self.disks:
logger.debug("Processing disk {}".format(disk.path))
if not disk.available:
logger.debug(
"Ignoring disk {}. Disk is not available".format(disk.path))
continue
if not self._has_mandatory_idents(disk):
logger.debug(
"Ignoring disk {}. Missing mandatory idents".format(