diff --git a/server/src/uds/services/Xen/xen_client/__init__.py b/server/src/uds/services/Xen/xen_client/__init__.py index 4bf68c84..4e901044 100644 --- a/server/src/uds/services/Xen/xen_client/__init__.py +++ b/server/src/uds/services/Xen/xen_client/__init__.py @@ -255,8 +255,8 @@ class XenServer: # pylint: disable=too-many-public-methods for srId in self.SR.get_all(): # Only valid SR shared, non iso name_label = self.SR.get_name_label(srId) - if self.SR.get_content_type(srId) == 'iso' or name_label == '': - # self.SR.get_shared(srId) is False or \ + # Skip non valid... + if self.SR.get_content_type(srId) == 'iso' or self.SR.get_shared(srId) is False or name_label == '': continue if not self.SR.get_shared(srId):