Closed michalskrivanek closed 1 year ago
The direct LUN doesn't have a disk profile and follow_link(self._connection, entity.disk_profile ) will be None. So detaching the LUN will fail with error "'NoneType' object has no attribute 'name'".
Signed-off-by: Nijin Ashok nashok@redhat.com
backport
@mnecas can you please check the linting, whether it's a missing exclude or if it's ok to disable completely
The direct LUN doesn't have a disk profile and follow_link(self._connection, entity.disk_profile ) will be None. So detaching the LUN will fail with error "'NoneType' object has no attribute 'name'".
Signed-off-by: Nijin Ashok nashok@redhat.com