fix: HP inventory crash is some warnings #248

Merged
cyrinux merged 1 commit from fix/cle/inventory-crash-2 into master 2022-11-10 15:47:39 +01:00

View file

@ -63,6 +63,8 @@ def _parse_pd_output(lines):
line = line.strip()
if not line or line.startswith('Note:'):
continue
if 'cache' in line or 'reboot' in line:
continue
# Parses the Array the drives are in
if line.startswith('Array'):
current_array = line.split(None, 1)[1]