From a3c31564ca942323555e1d011a02be13cf81d5ad Mon Sep 17 00:00:00 2001 From: "Joshua M. Boniface" Date: Mon, 13 Feb 2023 21:58:56 -0500 Subject: [PATCH] Flip condition in EDAC check --- node-daemon/plugins/edac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/node-daemon/plugins/edac b/node-daemon/plugins/edac index edf1be8b..44e361eb 100644 --- a/node-daemon/plugins/edac +++ b/node-daemon/plugins/edac @@ -79,7 +79,7 @@ class MonitoringPluginScript(MonitoringPlugin): errors = list() for line in stdout.split('\n'): if match(r'^mc[0-9]: csrow', line): - if 'Corrected' not in line: + if 'Uncorrected' in line: health_delta = 10 errors.append(' '.join(line.split()[2:])) message += ', '.join(errors)