Merge pull request #248 from Solvik/fix/cle/inventory-crash-2
fix: HP inventory crash is some warnings
This commit is contained in:
commit
368d793704
1 changed files with 2 additions and 0 deletions
|
@ -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]
|
||||
|
|
Loading…
Reference in a new issue