From 633b6d3851e4627a69d8030b9fcbf5c208f0a729 Mon Sep 17 00:00:00 2001 From: Cyril Levis Date: Wed, 16 Nov 2022 14:43:35 +0100 Subject: [PATCH] fix: ignore more cache errors --- netbox_agent/raid/hp.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/netbox_agent/raid/hp.py b/netbox_agent/raid/hp.py index 610c958..a2d9971 100644 --- a/netbox_agent/raid/hp.py +++ b/netbox_agent/raid/hp.py @@ -36,7 +36,7 @@ def ssacli(sub_command): def _parse_ctrl_output(lines): controllers = {} current_ctrl = None - ignore_patterns = ['Note:', 'Error:', 'is not loaded', 'README'] + ignore_patterns = ['Note:', 'Error:', 'is not loaded', 'README', 'failure'] ignore_match = False for line in lines: for pattern in ignore_patterns: