Flip condition in EDAC check

This commit is contained in:
Joshua Boniface 2023-02-13 21:58:56 -05:00
parent b07396c39a
commit a3c31564ca
1 changed files with 1 additions and 1 deletions

View File

@ -79,7 +79,7 @@ class MonitoringPluginScript(MonitoringPlugin):
errors = list() errors = list()
for line in stdout.split('\n'): for line in stdout.split('\n'):
if match(r'^mc[0-9]: csrow', line): if match(r'^mc[0-9]: csrow', line):
if 'Corrected' not in line: if 'Uncorrected' in line:
health_delta = 10 health_delta = 10
errors.append(' '.join(line.split()[2:])) errors.append(' '.join(line.split()[2:]))
message += ', '.join(errors) message += ', '.join(errors)