[trivial] Remove redundant list conversion
Follow-up to https://review.opendev.org/#/c/756300/ Change-Id: Ibc6c044e24dde82928f19a9b9a7eaf68be53fb0e
This commit is contained in:
		@@ -1898,7 +1898,7 @@ class GenericHardwareManager(HardwareManager):
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
            # check for missing devices and re-add them
 | 
					            # check for missing devices and re-add them
 | 
				
			||||||
            actual_components = _get_actual_component_devices(md_device)
 | 
					            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:
 | 
					            for dev in missing:
 | 
				
			||||||
                try:
 | 
					                try:
 | 
				
			||||||
                    LOG.warning('Found %s to be missing from %s '
 | 
					                    LOG.warning('Found %s to be missing from %s '
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user