2
0
mirror of https://github.com/xcat2/confluent.git synced 2026-09-10 19:46:26 +00:00

Refer to self instead of non-existant disk

This commit is contained in:
Jarrod Johnson
2026-08-27 15:43:17 -04:00
parent 116d4aeb04
commit 34e7a10cfc
@@ -87,7 +87,7 @@ class DiskInfo(object):
if kernname in slotinfo:
self.is_m2 = True
break
if getattr(self, 'busaddr', None) and disk.busaddr in slotinfo:
if getattr(self, 'busaddr', None) and self.busaddr in slotinfo:
self.is_m2 = True
if not self.driver and 'imsm' not in self.mdcontainer and self.subsystype != 'nvm':
raise Exception("No driver detected")