fix: product None crash inventory
This commit is contained in:
parent
6181800cb3
commit
866d27b346
1 changed files with 1 additions and 1 deletions
|
|
@ -309,7 +309,7 @@ class Inventory():
|
||||||
description = disk.get('description')
|
description = disk.get('description')
|
||||||
size = disk.get('size')
|
size = disk.get('size')
|
||||||
product = disk.get('product')
|
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
|
return True
|
||||||
non_raid_disks = [
|
non_raid_disks = [
|
||||||
'MR9361-8i',
|
'MR9361-8i',
|
||||||
|
|
|
||||||
Loading…
Add table
editor.link_modal.header
Reference in a new issue