fix: ignore HP controller error line regarding cache
This commit is contained in:
parent
866d27b346
commit
07e9323f6a
1 changed files with 4 additions and 1 deletions
|
|
@ -38,7 +38,10 @@ def _parse_ctrl_output(lines):
|
||||||
current_ctrl = None
|
current_ctrl = None
|
||||||
|
|
||||||
for line in lines:
|
for line in lines:
|
||||||
if not line or line.startswith('Note:'):
|
if not line or line.startswith('Note:') or \
|
||||||
|
'Please execute the "reenablecache' in line or \
|
||||||
|
'reboot after the operation' in line or \
|
||||||
|
'to complete the cache recovery process' in line:
|
||||||
continue
|
continue
|
||||||
ctrl = REGEXP_CONTROLLER_HP.search(line)
|
ctrl = REGEXP_CONTROLLER_HP.search(line)
|
||||||
if ctrl is not None:
|
if ctrl is not None:
|
||||||
|
|
|
||||||
Loading…
Add table
editor.link_modal.header
Reference in a new issue