disk inventory fix and hp improvement #259

Merged
cyrinux merged 3 commits from fix/cle/hp-inventory-fix-wait into master 2022-12-13 17:28:58 +01:00
Showing only changes of commit a9af96bba2 - Show all commits

View file

@ -371,7 +371,7 @@ class Inventory():
desc = disk.get('description')
name = '{} ({})'.format(disk['Model'], disk['Size'])
description = disk['Type']
sn = getattr(disk, 'SN', 'unknown')
sn = disk.get('SN', 'unknown')
parms = {
'device': self.device_id,