diff --git a/netbox_agent/inventory.py b/netbox_agent/inventory.py index e19608a..164ecf0 100644 --- a/netbox_agent/inventory.py +++ b/netbox_agent/inventory.py @@ -309,7 +309,7 @@ class Inventory(): description = disk.get('description') size = disk.get('size') product = disk.get('product') - if logicalname in raid_devices or disk_type is None: + if logicalname in raid_devices or disk_type is None or product is None: return True non_raid_disks = [ 'MR9361-8i',