[trivial] Remove redundant list conversion

Follow-up to https://review.opendev.org/#/c/756300/

Change-Id: Ibc6c044e24dde82928f19a9b9a7eaf68be53fb0e
This commit is contained in:
Arne Wiebalck 2020-10-13 08:29:53 +02:00
parent 80b0a9a132
commit c7f6baf7f4
1 changed files with 1 additions and 1 deletions

View File

@ -1898,7 +1898,7 @@ class GenericHardwareManager(HardwareManager):
# check for missing devices and re-add them
actual_components = _get_actual_component_devices(md_device)
missing = list(set(component_devices) - set(actual_components))
missing = set(component_devices) - set(actual_components)
for dev in missing:
try:
LOG.warning('Found %s to be missing from %s '